diff options
Diffstat (limited to 'lib/replace')
-rw-r--r-- | lib/replace/system/passwd.h | 12 | ||||
-rw-r--r-- | lib/replace/wscript | 2 |
2 files changed, 1 insertions, 13 deletions
diff --git a/lib/replace/system/passwd.h b/lib/replace/system/passwd.h index ba738a7edb..f8b9a774b3 100644 --- a/lib/replace/system/passwd.h +++ b/lib/replace/system/passwd.h @@ -27,9 +27,6 @@ */ -/* this needs to be included before nss_wrapper.h on some systems */ -#include <unistd.h> - #ifdef HAVE_PWD_H #include <pwd.h> #endif @@ -88,13 +85,4 @@ #define ULTRIX_AUTH 1 #endif -#ifdef NSS_WRAPPER -#ifndef NSS_WRAPPER_DISABLE -#ifndef NSS_WRAPPER_NOT_REPLACE -#define NSS_WRAPPER_REPLACE -#endif /* NSS_WRAPPER_NOT_REPLACE */ -#include "../nss_wrapper/nss_wrapper.h" -#endif /* NSS_WRAPPER_DISABLE */ -#endif /* NSS_WRAPPER */ - #endif diff --git a/lib/replace/wscript b/lib/replace/wscript index f26ae943e2..680eb4ca1f 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -617,7 +617,7 @@ def build(bld): REPLACE_HOSTCC_SOURCE, use_hostcc=True, use_global_deps=False, - cflags='-DSOCKET_WRAPPER_DISABLE=1 -DNSS_WRAPPER_DISABLE=1 -D_SAMBA_HOSTCC_', + cflags='-DSOCKET_WRAPPER_DISABLE=1 -D_SAMBA_HOSTCC_', group='compiler_libraries', deps = extra_libs ) |