diff options
author | James Peach <jpeach@samba.org> | 2007-05-23 20:31:28 +0000 |
---|---|---|
committer | James Peach <jpeach@samba.org> | 2007-05-23 20:31:28 +0000 |
commit | 96c8634714e9888f14b2af4793f6a71a3e02ff17 (patch) | |
tree | ccf7034ac5598dbdb35019aa3d01bea77161284d /source/lib/pam_errors.c | |
parent | 75127c9b2e4c75e2187416955e88c759625b6992 (diff) | |
download | samba-96c8634714e9888f14b2af4793f6a71a3e02ff17.tar.gz samba-96c8634714e9888f14b2af4793f6a71a3e02ff17.tar.xz samba-96c8634714e9888f14b2af4793f6a71a3e02ff17.zip |
r23095: Support systems that have their PAM headers in /usr/include/pam.
Diffstat (limited to 'source/lib/pam_errors.c')
-rw-r--r-- | source/lib/pam_errors.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/lib/pam_errors.c b/source/lib/pam_errors.c index 9d9a377a912..42931383edd 100644 --- a/source/lib/pam_errors.c +++ b/source/lib/pam_errors.c @@ -21,7 +21,11 @@ #include "includes.h" #ifdef WITH_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 #if defined(PAM_AUTHTOK_RECOVERY_ERR) && !defined(PAM_AUTHTOK_RECOVER_ERR) #define PAM_AUTHTOK_RECOVER_ERR PAM_AUTHTOK_RECOVERY_ERR |