tdb: fix recovery reuse after crash
[ira/wip.git] / lib / uid_wrapper / uid_wrapper.c
index f7f04316bfc77b6d99d827729e2ae739c7e37732..93ebb7c1897c3aeb63d8b336ace8417c61dc0b84 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifdef _SAMBA_BUILD_
+
 #define UID_WRAPPER_NOT_REPLACE
-#include "includes.h"
+#include "../replace/replace.h"
+#include <talloc.h>
 #include "system/passwd.h"
-#include "system/filesys.h"
+
+#else /* _SAMBA_BUILD_ */
+
+#error uid_wrapper_only_supported_in_samba_yet
+
+#endif
 
 #ifndef _PUBLIC_
 #define _PUBLIC_