summaryrefslogtreecommitdiff
path: root/auth-pam.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2004-01-02 18:01:30 +1100
committerDamien Miller <djm@mindrot.org>2004-01-02 18:01:30 +1100
commit0f47c53742a31b9682c05660dd8de1e860fb1fc5 (patch)
tree7ca6b79f339d5de9bd0ab6d7fe859b64dc0a5ab6 /auth-pam.c
parentc8ec16651ea05e160f5dd51dc70f0db946ee2761 (diff)
- (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.c6
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 @@
31 31
32/* Based on $FreeBSD: src/crypto/openssh/auth2-pam-freebsd.c,v 1.11 2003/03/31 13:48:18 des Exp $ */ 32/* Based on $FreeBSD: src/crypto/openssh/auth2-pam-freebsd.c,v 1.11 2003/03/31 13:48:18 des Exp $ */
33#include "includes.h" 33#include "includes.h"
34RCSID("$Id: auth-pam.c,v 1.86 2003/12/18 05:08:59 dtucker Exp $"); 34RCSID("$Id: auth-pam.c,v 1.87 2004/01/02 07:01:31 djm Exp $");
35 35
36#ifdef USE_PAM 36#ifdef USE_PAM
37#if defined(HAVE_SECURITY_PAM_APPL_H)
37#include <security/pam_appl.h> 38#include <security/pam_appl.h>
39#elif defined (HAVE_PAM_PAM_APPL_H)
40#include <pam/pam_appl.h>
41#endif
38 42
39#include "auth.h" 43#include "auth.h"
40#include "auth-pam.h" 44#include "auth-pam.h"