From 02320cb0e2728bb18e013e3ee22351293f3dd64e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 8 Feb 2010 08:55:44 +0100 Subject: libreplace: add check for NSS_WRAPPER_DISABLE similar to SOCKET_WRAPPER_DISABLE metze --- lib/replace/system/passwd.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/replace/system') diff --git a/lib/replace/system/passwd.h b/lib/replace/system/passwd.h index b41608c551b..aaea9c8344e 100644 --- a/lib/replace/system/passwd.h +++ b/lib/replace/system/passwd.h @@ -101,10 +101,12 @@ char *rep_getpass(const char *prompt); #endif #ifdef NSS_WRAPPER +#ifndef NSS_WRAPPER_DISABLE #ifndef NSS_WRAPPER_NOT_REPLACE #define NSS_WRAPPER_REPLACE -#endif +#endif /* NSS_WRAPPER_NOT_REPLACE */ #include "../nss_wrapper/nss_wrapper.h" -#endif +#endif /* NSS_WRAPPER_DISABLE */ +#endif /* NSS_WRAPPER */ #endif -- cgit