summaryrefslogtreecommitdiff
path: root/openbsd-compat/port-aix.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-09-18 23:54:32 +1000
committerDarren Tucker <dtucker@zip.com.au>2006-09-18 23:54:32 +1000
commitc70ce7b09d8fd0b341c33e1b8d584a91bb241547 (patch)
treedf54e90c40b0967fc52afb6caefb84ba09d5b8aa /openbsd-compat/port-aix.c
parent9216c37d60fdb8b9e247541991248e0ca86cac07 (diff)
downloadopenssh-git-c70ce7b09d8fd0b341c33e1b8d584a91bb241547.tar.gz
- (dtucker) [openbsd-compat/port-aix.{c,h}] Reduce scope of includes.
Prevents macro redefinition warnings of "RDONLY".
Diffstat (limited to 'openbsd-compat/port-aix.c')
-rw-r--r--openbsd-compat/port-aix.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/openbsd-compat/port-aix.c b/openbsd-compat/port-aix.c
index d0a42300..b9fabf61 100644
--- a/openbsd-compat/port-aix.c
+++ b/openbsd-compat/port-aix.c
@@ -45,6 +45,16 @@
#include <string.h>
#include <unistd.h>
#include <sys/socket.h>
+
+#ifdef WITH_AIXAUTHENTICATE
+# include <login.h>
+# include <userpw.h>
+# if defined(HAVE_SYS_AUDIT_H) && defined(AIX_LOGINFAILED_4ARG)
+# include <sys/audit.h>
+# endif
+# include <usersec.h>
+#endif
+
#include "port-aix.h"
# ifdef HAVE_SETAUTHDB