diff options
author | Darren Tucker <dtucker@zip.com.au> | 2003-09-19 20:43:38 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2003-09-19 20:43:38 +1000 |
commit | 91acbf211c2d7508155daf75461435333254093a (patch) | |
tree | a40572831ff1214b6aadb81693710011b78447f8 /openbsd-compat | |
parent | 8040939f7269fa2adfe3deb264c2c2c6d1d93407 (diff) |
- (dtucker) [openbsd-compat/port-aix.h] Bug #640: Don't include audit.h
unless required. Reorder to reduce warnings.
Diffstat (limited to 'openbsd-compat')
-rw-r--r-- | openbsd-compat/port-aix.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsd-compat/port-aix.h b/openbsd-compat/port-aix.h index 09e7f9e97..b2a48cba9 100644 --- a/openbsd-compat/port-aix.h +++ b/openbsd-compat/port-aix.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: port-aix.h,v 1.14 2003/08/29 16:59:52 mouring Exp $ */ | 1 | /* $Id: port-aix.h,v 1.15 2003/09/19 10:43:38 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * | 4 | * |
@@ -30,10 +30,10 @@ | |||
30 | #ifdef WITH_AIXAUTHENTICATE | 30 | #ifdef WITH_AIXAUTHENTICATE |
31 | # include <login.h> | 31 | # include <login.h> |
32 | # include <userpw.h> | 32 | # include <userpw.h> |
33 | # include <usersec.h> | 33 | # if defined(HAVE_SYS_AUDIT_H) && defined(AIX_LOGINFAILED_4ARG) |
34 | # ifdef HAVE_SYS_AUDIT_H | ||
35 | # include <sys/audit.h> | 34 | # include <sys/audit.h> |
36 | # endif | 35 | # endif |
36 | # include <usersec.h> | ||
37 | #endif | 37 | #endif |
38 | 38 | ||
39 | /* Some versions define r_type in the above headers, which causes a conflict */ | 39 | /* Some versions define r_type in the above headers, which causes a conflict */ |