lib/ntdb correct includes in private header
authorChristian Ambach <ambi@samba.org>
Fri, 22 Nov 2013 04:17:38 +0000 (05:17 +0100)
committerChristian Ambach <ambi@samba.org>
Sat, 7 Dec 2013 15:45:15 +0000 (16:45 +0100)
include all necessary headers when libreplace is not around

Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Rusty Russell <rusty@samba.org>
lib/ntdb/private.h

index 5efd2e0d92818d78620edf7f7551b5539a6da644..249253758fdc8fbe59264357b9808f34b94aae26 100644 (file)
@@ -35,6 +35,7 @@
 #include "system/select.h"
 #include "system/wait.h"
 #else
+#include <stdarg.h>
 #include <stdint.h>
 #include <stdbool.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <utime.h>
 #include <unistd.h>
+#include <ctype.h>
+#include <string.h>
+#include <sys/wait.h>
+#include <time.h>
 #endif
 #include <assert.h>