summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authormetze <metze@0c0555d6-39d7-0310-84fc-f1cc0bd64818>2007-11-05 15:45:08 +0000
committerStefan Metzmacher <metze@samba.org>2007-11-06 09:38:57 +0100
commitf16544ad3b167113a352605ffb0f7bb79116eff3 (patch)
tree12c8e92e1bbd3d6c8b2a187095aea3b45aae6de0 /source3
parent85b48d792f915def5521e83f11aa0c13f9a0de6b (diff)
downloadsamba-f16544ad3b167113a352605ffb0f7bb79116eff3.tar.gz
samba-f16544ad3b167113a352605ffb0f7bb79116eff3.tar.bz2
samba-f16544ad3b167113a352605ffb0f7bb79116eff3.zip
libreplace: include nss_wrapper.h if NSS_WRAPPER is defined
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25838 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 809fee4bef66eb8b8687f88257c0d6f77d3b4063)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/replace/system/passwd.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/lib/replace/system/passwd.h b/source3/lib/replace/system/passwd.h
index 53d35e7b87..513947c85d 100644
--- a/source3/lib/replace/system/passwd.h
+++ b/source3/lib/replace/system/passwd.h
@@ -93,4 +93,11 @@ char *rep_getpass(const char *prompt);
#define ULTRIX_AUTH 1
#endif
+#ifdef NSS_WRAPPER
+#ifndef NSS_WRAPPER_NOT_REPLACE
+#define NSS_WRAPPER_REPLACE
+#endif
+#include "lib/nss_wrapper/nss_wrapper.h"
+#endif
+
#endif