diff options
author | Darren Tucker <dtucker@zip.com.au> | 2003-07-08 12:52:12 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2003-07-08 12:52:12 +0200 |
commit | a0c0b6311210e0cddfb1b038bd7b37f5a298ef3e (patch) | |
tree | feecc2846260789958f31ed415aa9065455879fc /openbsd-compat/port-aix.h | |
parent | - (dtucker) [configure.ac] Bug #600: Check that getrusage is declared before (diff) | |
download | openssh-a0c0b6311210e0cddfb1b038bd7b37f5a298ef3e.tar.xz openssh-a0c0b6311210e0cddfb1b038bd7b37f5a298ef3e.zip |
- (dtucker) [acconfig.h auth-passwd.c configure.ac session.c port-aix.[ch]]
Include AIX headers for authentication functions and make calls match
prototypes. Test for and handle 3-args and 4-arg variants of loginfailed.
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 @@ #ifdef _AIX +#ifdef WITH_AIXAUTHENTICATE +# include <login.h> +# include <userpw.h> +# include <usersec.h> +# ifdef HAVE_SYS_AUDIT_H +# include <sys/audit.h> +# endif +#endif + /* AIX 4.2.x doesn't have nanosleep but does have nsleep which is equivalent */ #if !defined(HAVE_NANOSLEEP) && defined(HAVE_NSLEEP) # define nanosleep(a,b) nsleep(a,b) |