summaryrefslogtreecommitdiff
path: root/lib/replace/system/passwd.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/replace/system/passwd.h')
-rw-r--r--lib/replace/system/passwd.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/replace/system/passwd.h b/lib/replace/system/passwd.h
index b41608c551..aaea9c8344 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