From 7cb08171ce5e4ce73a37d2f57f466fda0fd3669b Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 27 Oct 2011 12:00:53 +0200 Subject: Include uid_wrapper correctly. --- lib/replace/system/passwd.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'lib/replace') diff --git a/lib/replace/system/passwd.h b/lib/replace/system/passwd.h index aaea9c8344..f630012f00 100644 --- a/lib/replace/system/passwd.h +++ b/lib/replace/system/passwd.h @@ -109,4 +109,15 @@ char *rep_getpass(const char *prompt); #endif /* NSS_WRAPPER_DISABLE */ #endif /* NSS_WRAPPER */ +#ifdef UID_WRAPPER +# ifndef UID_WRAPPER_DISABLE +# ifndef UID_WRAPPER_NOT_REPLACE +# define UID_WRAPPER_REPLACE +# endif /* UID_WRAPPER_NOT_REPLACE */ +# include "../uid_wrapper/uid_wrapper.h" +# endif /* UID_WRAPPER_DISABLE */ +#else /* UID_WRAPPER */ +# define uwrap_enabled() 0 +#endif /* UID_WRAPPER */ + #endif -- cgit