diff options
author | Bo Yang <boyang@samba.org> | 2009-05-29 16:10:19 +0800 |
---|---|---|
committer | Bo Yang <boyang@samba.org> | 2009-05-29 16:19:17 +0800 |
commit | de4c13ca682671d46d9d6512f84670c88b2e7837 (patch) | |
tree | c1cc818455e92f06605202141a097f0032f5ada9 /source3/pam_smbpass/support.c | |
parent | b3f2a3a488f868c4aa31c49bc145a8a6e81de3b5 (diff) | |
download | samba-de4c13ca682671d46d9d6512f84670c88b2e7837.tar.gz |
s3: fix building of pam_smbpass.
Signed-off-by: Bo Yang <boyang@samba.org>
Diffstat (limited to 'source3/pam_smbpass/support.c')
-rw-r--r-- | source3/pam_smbpass/support.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/source3/pam_smbpass/support.c b/source3/pam_smbpass/support.c index 855885a6d7c..98dda4e8cc2 100644 --- a/source3/pam_smbpass/support.c +++ b/source3/pam_smbpass/support.c @@ -21,7 +21,21 @@ #include "support.h" #include "../libcli/auth/libcli_auth.h" +#if defined(HAVE_SECURITY_PAM_EXT_H) +#include <security/pam_ext.h> +#elif defined(HAVE_PAM_PAM_EXT_H) +#include <pam/pam_ext.h> +#endif + +#if defined(HAVE_SECURITY__PAM_MACROS_H) +#include <security/_pam_macros.h> +#elif defined(HAVE_PAM__PAM_MACROS_H) +#include <pam/_pam_macros.h> +#endif +#ifdef HAVE_SYSLOG_H +#include <syslog.h> +#endif #define _pam_overwrite(x) \ do { \ |