summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-02-10 03:48:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:38 -0500
commitfedf0b0d91fdf2a6ae0ef47acd4047f662bd3374 (patch)
tree6150bf20e0a2f14879c8a761ea32b98888e1a721 /source4/lib/tdb/include
parentb9bb7f596de51496c18580863efbb8ac17c78970 (diff)
downloadsamba-fedf0b0d91fdf2a6ae0ef47acd4047f662bd3374.tar.gz
samba-fedf0b0d91fdf2a6ae0ef47acd4047f662bd3374.tar.bz2
samba-fedf0b0d91fdf2a6ae0ef47acd4047f662bd3374.zip
r5296: - only include the tdb headers where they are needed
- removed the u32 hack in events.c as I think this was only needed as tdb.h defines u32. Metze, can you check that this hack is indeed no longer needed on your suse system? (This used to be commit 6f79432fe656164d4770dbce114a30dda5e7bf9a)
Diffstat (limited to 'source4/lib/tdb/include')
-rw-r--r--source4/lib/tdb/include/tdb.h2
-rw-r--r--source4/lib/tdb/include/tdbutil.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/tdb/include/tdb.h b/source4/lib/tdb/include/tdb.h
index f53503a1d6..1de5517d91 100644
--- a/source4/lib/tdb/include/tdb.h
+++ b/source4/lib/tdb/include/tdb.h
@@ -154,4 +154,6 @@ extern TDB_DATA tdb_null;
}
#endif
+#include "spinlock.h"
+
#endif /* tdb.h */
diff --git a/source4/lib/tdb/include/tdbutil.h b/source4/lib/tdb/include/tdbutil.h
index cfa83bd937..80d93b7984 100644
--- a/source4/lib/tdb/include/tdbutil.h
+++ b/source4/lib/tdb/include/tdbutil.h
@@ -21,6 +21,8 @@
#ifndef __TDBUTIL_H__
#define __TDBUTIL_H__
+#include "tdb.h"
+
/* single node of a list returned by tdb_search_keys */
typedef struct keys_node