diff options
Diffstat (limited to 'source3/auth')
-rw-r--r-- | source3/auth/pampass.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/auth/pampass.c b/source3/auth/pampass.c index ba11d2e8fc..a83e2bcb3f 100644 --- a/source3/auth/pampass.c +++ b/source3/auth/pampass.c @@ -41,7 +41,11 @@ * which determines what actions/limitations/allowances become affected. *********************************************************************/ +#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 /* * Structure used to communicate between the conversation function |