Include uid_wrapper correctly.
[mat/samba.git] / lib / util / util.c
index 133bd0dfb0b42658a06d6386a85daa6a2811e3fc..c7c37bc815201f6816ad186c5f1286e42047757f 100644 (file)
@@ -27,6 +27,7 @@
 #include "system/filesys.h"
 #include "system/locale.h"
 #include "system/shmem.h"
+#include "system/passwd.h"
 
 #undef malloc
 #undef strcasecmp
 #undef strdup
 #undef realloc
 
-#if defined(UID_WRAPPER)
-#if !defined(UID_WRAPPER_REPLACE) && !defined(UID_WRAPPER_NOT_REPLACE)
-#define UID_WRAPPER_REPLACE
-#include "../uid_wrapper/uid_wrapper.h"
-#endif
-#else
-#define uwrap_enabled() 0
-#endif
-
 /**
  * @file
  * @brief Misc utility functions