summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/port-aix.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-09-19 12:43:38 +0200
committerDarren Tucker <dtucker@zip.com.au>2003-09-19 12:43:38 +0200
commit91acbf211c2d7508155daf75461435333254093a (patch)
treea40572831ff1214b6aadb81693710011b78447f8 /openbsd-compat/port-aix.h
parent - (djm) Bug #646: Fix location of x11-ssh-askpass; Jim (diff)
downloadopenssh-91acbf211c2d7508155daf75461435333254093a.tar.xz
openssh-91acbf211c2d7508155daf75461435333254093a.zip
- (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 09e7f9e97..b2a48cba9 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 */