summaryrefslogtreecommitdiff
path: root/includes.h
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 /includes.h
parentc8ec16651ea05e160f5dd51dc70f0db946ee2761 (diff)
- (djm) OSX/Darwin put the PAM headers in a different place, detect this.
Report from jakob@
Diffstat (limited to 'includes.h')
-rw-r--r--includes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes.h b/includes.h
index 033cd91fa..ac9a950e0 100644
--- a/includes.h
+++ b/includes.h
@@ -147,7 +147,11 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
147# include <rpc/types.h> /* For INADDR_LOOPBACK */ 147# include <rpc/types.h> /* For INADDR_LOOPBACK */
148#endif 148#endif
149#ifdef USE_PAM 149#ifdef USE_PAM
150#if defined(HAVE_SECURITY_PAM_APPL_H)
150# include <security/pam_appl.h> 151# include <security/pam_appl.h>
152#elif defined (HAVE_PAM_PAM_APPL_H)
153# include <pam/pam_appl.h>
154#endif
151#endif 155#endif
152#ifdef HAVE_READPASSPHRASE_H 156#ifdef HAVE_READPASSPHRASE_H
153# include <readpassphrase.h> 157# include <readpassphrase.h>