summaryrefslogtreecommitdiff
path: root/source4/lib/replace
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-11-05 15:45:08 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:44:19 +0100
commit4d354fd58374df6ab5ae52e6cd61988377ceddb2 (patch)
tree27fe6d8d1cc51c3e51777930c1821e867689d7df /source4/lib/replace
parent9dc10a65b04d5af0eb0186914f2bd80eb3e58a3a (diff)
downloadsamba-4d354fd58374df6ab5ae52e6cd61988377ceddb2.tar.gz
samba-4d354fd58374df6ab5ae52e6cd61988377ceddb2.tar.bz2
samba-4d354fd58374df6ab5ae52e6cd61988377ceddb2.zip
r25838: libreplace: include nss_wrapper.h if NSS_WRAPPER is defined
metze (This used to be commit 17f9189fb4b34dbc08f6aded6b0c81ee8eb07a9f)
Diffstat (limited to 'source4/lib/replace')
-rw-r--r--source4/lib/replace/system/passwd.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/lib/replace/system/passwd.h b/source4/lib/replace/system/passwd.h
index 53d35e7b87..513947c85d 100644
--- a/source4/lib/replace/system/passwd.h
+++ b/source4/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