summaryrefslogtreecommitdiffstats
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-05-22 21:47:11 +0000
committerJeremy Allison <jra@samba.org>2001-05-22 21:47:11 +0000
commitd222a3f28d4eac319e9986ccbfdc03a3a62ea0e6 (patch)
tree0e18b858b0b3d81ae7da7c32e2547fd7ea7b2ed2 /source3/nsswitch
parentfaa0bef196b732b45c4614acd655af4881504808 (diff)
downloadsamba-d222a3f28d4eac319e9986ccbfdc03a3a62ea0e6.tar.gz
samba-d222a3f28d4eac319e9986ccbfdc03a3a62ea0e6.tar.xz
samba-d222a3f28d4eac319e9986ccbfdc03a3a62ea0e6.zip
Try to fix build by adding autoconf tests for pam headers.
Jeremy. (This used to be commit d52bc4d219bd07e656986e7754ea6e238c626d77)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/pam_winbind.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/nsswitch/pam_winbind.h b/source3/nsswitch/pam_winbind.h
index 85707cb4dcf..5618dc1b61f 100644
--- a/source3/nsswitch/pam_winbind.h
+++ b/source3/nsswitch/pam_winbind.h
@@ -34,7 +34,9 @@
#define PAM_AUTHTOK_RECOVER_ERR PAM_AUTHTOK_RECOVERY_ERR
#endif
+#ifdef HAVE_SECURITY_PAM_MODULES_H
#include <security/pam_modules.h>
+#endif
#ifdef HAVE_SECURITY__PAM_MACROS_H
#include <security/_pam_macros.h>