summaryrefslogtreecommitdiff
path: root/openbsd-compat/port-aix.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-09-19 20:43:38 +1000
committerDarren Tucker <dtucker@zip.com.au>2003-09-19 20:43:38 +1000
commit91acbf211c2d7508155daf75461435333254093a (patch)
treea40572831ff1214b6aadb81693710011b78447f8 /openbsd-compat/port-aix.h
parent8040939f7269fa2adfe3deb264c2c2c6d1d93407 (diff)
downloadopenssh-git-91acbf211c2d7508155daf75461435333254093a.tar.gz
- (dtucker) [openbsd-compat/port-aix.h] Bug #640: Don't include audit.h
unless required. Reorder to reduce warnings.
Diffstat (limited to 'openbsd-compat/port-aix.h')
-rw-r--r--openbsd-compat/port-aix.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsd-compat/port-aix.h b/openbsd-compat/port-aix.h
index 09e7f9e9..b2a48cba 100644
--- a/openbsd-compat/port-aix.h
+++ b/openbsd-compat/port-aix.h
@@ -1,4 +1,4 @@
-/* $Id: port-aix.h,v 1.14 2003/08/29 16:59:52 mouring Exp $ */
+/* $Id: port-aix.h,v 1.15 2003/09/19 10:43:38 dtucker Exp $ */
/*
*
@@ -30,10 +30,10 @@
#ifdef WITH_AIXAUTHENTICATE
# include <login.h>
# include <userpw.h>
-# include <usersec.h>
-# ifdef HAVE_SYS_AUDIT_H
+# if defined(HAVE_SYS_AUDIT_H) && defined(AIX_LOGINFAILED_4ARG)
# include <sys/audit.h>
# endif
+# include <usersec.h>
#endif
/* Some versions define r_type in the above headers, which causes a conflict */