libreplace: include nss_wrapper.h if NSS_WRAPPER is defined
authormetze <metze@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Mon, 5 Nov 2007 15:45:08 +0000 (15:45 +0000)
committerStefan Metzmacher <metze@samba.org>
Tue, 6 Nov 2007 08:38:57 +0000 (09:38 +0100)
metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25838 0c0555d6-39d7-0310-84fc-f1cc0bd64818

source/lib/replace/system/passwd.h

index 53d35e7b87e6c9de2eef3bb62d5dec4d24fc362b..513947c85df8c13647b25abcd94e3d35d25dd696 100644 (file)
@@ -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