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)
- (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 d0a423005..b9fabf61f 100644
--- a/openbsd-compat/port-aix.c
+++ b/openbsd-compat/port-aix.c
@@ -45,6 +45,16 @@
45#include <string.h> 45#include <string.h>
46#include <unistd.h> 46#include <unistd.h>
47#include <sys/socket.h> 47#include <sys/socket.h>
48
49#ifdef WITH_AIXAUTHENTICATE
50# include <login.h>
51# include <userpw.h>
52# if defined(HAVE_SYS_AUDIT_H) && defined(AIX_LOGINFAILED_4ARG)
53# include <sys/audit.h>
54# endif
55# include <usersec.h>
56#endif
57
48#include "port-aix.h" 58#include "port-aix.h"
49 59
50# ifdef HAVE_SETAUTHDB 60# ifdef HAVE_SETAUTHDB