diff options
Diffstat (limited to 'openbsd-compat/port-aix.h')
-rw-r--r-- | openbsd-compat/port-aix.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/openbsd-compat/port-aix.h b/openbsd-compat/port-aix.h index 2254e7462..2787d919d 100644 --- a/openbsd-compat/port-aix.h +++ b/openbsd-compat/port-aix.h | |||
@@ -26,6 +26,15 @@ | |||
26 | 26 | ||
27 | #ifdef _AIX | 27 | #ifdef _AIX |
28 | 28 | ||
29 | #ifdef WITH_AIXAUTHENTICATE | ||
30 | # include <login.h> | ||
31 | # include <userpw.h> | ||
32 | # include <usersec.h> | ||
33 | # ifdef HAVE_SYS_AUDIT_H | ||
34 | # include <sys/audit.h> | ||
35 | # endif | ||
36 | #endif | ||
37 | |||
29 | /* AIX 4.2.x doesn't have nanosleep but does have nsleep which is equivalent */ | 38 | /* AIX 4.2.x doesn't have nanosleep but does have nsleep which is equivalent */ |
30 | #if !defined(HAVE_NANOSLEEP) && defined(HAVE_NSLEEP) | 39 | #if !defined(HAVE_NANOSLEEP) && defined(HAVE_NSLEEP) |
31 | # define nanosleep(a,b) nsleep(a,b) | 40 | # define nanosleep(a,b) nsleep(a,b) |