summaryrefslogtreecommitdiff
path: root/source4/lib/tdb
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/tdb')
-rw-r--r--source4/lib/tdb/common/spinlock.c1
-rw-r--r--source4/lib/tdb/common/tdbutil.c2
-rw-r--r--source4/lib/tdb/tools/tdbdump.c1
-rw-r--r--source4/lib/tdb/tools/tdbtorture.c1
4 files changed, 5 insertions, 0 deletions
diff --git a/source4/lib/tdb/common/spinlock.c b/source4/lib/tdb/common/spinlock.c
index 001f0c3bc1..232cd8dfc6 100644
--- a/source4/lib/tdb/common/spinlock.c
+++ b/source4/lib/tdb/common/spinlock.c
@@ -43,6 +43,7 @@
#else
#include "includes.h"
#include "lib/tdb/include/tdb.h"
+#include "system/filesys.h"
#endif
#ifdef USE_SPINLOCKS
diff --git a/source4/lib/tdb/common/tdbutil.c b/source4/lib/tdb/common/tdbutil.c
index 02a1d66cbe..e3c5641054 100644
--- a/source4/lib/tdb/common/tdbutil.c
+++ b/source4/lib/tdb/common/tdbutil.c
@@ -22,7 +22,9 @@
#include "lib/tdb/include/tdbutil.h"
#include "system/glob.h"
#include "system/wait.h"
+#include "system/filesys.h"
#include "dlinklist.h"
+#include "pstring.h"
/* these are little tdb utility functions that are meant to make
dealing with a tdb database a little less cumbersome in Samba */
diff --git a/source4/lib/tdb/tools/tdbdump.c b/source4/lib/tdb/tools/tdbdump.c
index 8aa573ca9b..774093dbc0 100644
--- a/source4/lib/tdb/tools/tdbdump.c
+++ b/source4/lib/tdb/tools/tdbdump.c
@@ -39,6 +39,7 @@
#include "includes.h"
#include "lib/tdb/include/tdb.h"
#include "system/iconv.h"
+#include "system/filesys.h"
#endif
diff --git a/source4/lib/tdb/tools/tdbtorture.c b/source4/lib/tdb/tools/tdbtorture.c
index 63b3b0d381..7e8e77952c 100644
--- a/source4/lib/tdb/tools/tdbtorture.c
+++ b/source4/lib/tdb/tools/tdbtorture.c
@@ -24,6 +24,7 @@
#include "lib/tdb/include/tdb.h"
#include "system/time.h"
#include "system/wait.h"
+#include "system/filesys.h"
#endif