summaryrefslogtreecommitdiff
path: root/source4/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/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/include')
-rw-r--r--source4/include/db_wrap.h2
-rw-r--r--source4/include/includes.h3
2 files changed, 1 insertions, 4 deletions
diff --git a/source4/include/db_wrap.h b/source4/include/db_wrap.h
index 6a12a1c9b2..c336461dbe 100644
--- a/source4/include/db_wrap.h
+++ b/source4/include/db_wrap.h
@@ -29,7 +29,7 @@ struct ldb_wrap {
struct tdb_wrap {
- TDB_CONTEXT *tdb;
+ struct tdb_context *tdb;
const char *name;
struct tdb_wrap *next, *prev;
diff --git a/source4/include/includes.h b/source4/include/includes.h
index 7d1ee5afc7..cef5e982c7 100644
--- a/source4/include/includes.h
+++ b/source4/include/includes.h
@@ -113,9 +113,6 @@ extern int errno;
#include "lib/talloc/talloc.h"
#include "nt_status.h"
#include "structs.h"
-#include "lib/tdb/include/tdb.h"
-#include "lib/tdb/include/spinlock.h"
-#include "lib/tdb/include/tdbutil.h"
#include "db_wrap.h"
#include "trans2.h"
#include "nterr.h"