diff options
author | Damien Miller <djm@mindrot.org> | 2004-01-02 18:01:30 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2004-01-02 18:01:30 +1100 |
commit | 0f47c53742a31b9682c05660dd8de1e860fb1fc5 (patch) | |
tree | 7ca6b79f339d5de9bd0ab6d7fe859b64dc0a5ab6 /includes.h | |
parent | c8ec16651ea05e160f5dd51dc70f0db946ee2761 (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.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -147,7 +147,11 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } # include <rpc/types.h> /* For INADDR_LOOPBACK */ #endif #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 #endif #ifdef HAVE_READPASSPHRASE_H # include <readpassphrase.h> |