diff options
author | Damien Miller <djm@mindrot.org> | 2004-01-02 08:01:30 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2004-01-02 08:01:30 +0100 |
commit | 0f47c53742a31b9682c05660dd8de1e860fb1fc5 (patch) | |
tree | 7ca6b79f339d5de9bd0ab6d7fe859b64dc0a5ab6 /auth-pam.c | |
parent | - (djm) Remove useless DNS support configure summary message. from jakob@ (diff) | |
download | openssh-0f47c53742a31b9682c05660dd8de1e860fb1fc5.tar.xz openssh-0f47c53742a31b9682c05660dd8de1e860fb1fc5.zip |
- (djm) OSX/Darwin put the PAM headers in a different place, detect this.
Report from jakob@
Diffstat (limited to 'auth-pam.c')
-rw-r--r-- | auth-pam.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/auth-pam.c b/auth-pam.c index 9edf2c54e..31e1999f0 100644 --- a/auth-pam.c +++ b/auth-pam.c @@ -31,10 +31,14 @@ /* Based on $FreeBSD: src/crypto/openssh/auth2-pam-freebsd.c,v 1.11 2003/03/31 13:48:18 des Exp $ */ #include "includes.h" -RCSID("$Id: auth-pam.c,v 1.86 2003/12/18 05:08:59 dtucker Exp $"); +RCSID("$Id: auth-pam.c,v 1.87 2004/01/02 07:01:31 djm Exp $"); #ifdef USE_PAM +#if defined(HAVE_SECURITY_PAM_APPL_H) #include <security/pam_appl.h> +#elif defined (HAVE_PAM_PAM_APPL_H) +#include <pam/pam_appl.h> +#endif #include "auth.h" #include "auth-pam.h" |