lib/ntdb optimize includes in ntdb tools
[kai/samba-autobuild/.git] / lib / ntdb / tools / ntdbrestore.c
index 1df9322e6412533dba3391c151e6052a49dbf493..695af79cb2f8bd01ab6fbd26d76130bd604d3595 100644 (file)
 
 #include "config.h"
 #include "ntdb.h"
+#include "private.h"
 #include <assert.h>
-#ifdef HAVE_LIBREPLACE
-#include <replace.h>
-#include <system/filesys.h>
-#else
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-#include <stdio.h>
-#include <stdlib.h>
-#endif
 
 static int read_linehead(FILE *f)
 {