diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-02-10 03:48:43 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:09:38 -0500 |
commit | fedf0b0d91fdf2a6ae0ef47acd4047f662bd3374 (patch) | |
tree | 6150bf20e0a2f14879c8a761ea32b98888e1a721 /source4/lib/tdb/common | |
parent | b9bb7f596de51496c18580863efbb8ac17c78970 (diff) | |
download | samba-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/common')
-rw-r--r-- | source4/lib/tdb/common/spinlock.c | 2 | ||||
-rw-r--r-- | source4/lib/tdb/common/tdb.c | 2 | ||||
-rw-r--r-- | source4/lib/tdb/common/tdbutil.c | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/source4/lib/tdb/common/spinlock.c b/source4/lib/tdb/common/spinlock.c index 30bfd77962..001f0c3bc1 100644 --- a/source4/lib/tdb/common/spinlock.c +++ b/source4/lib/tdb/common/spinlock.c @@ -38,11 +38,11 @@ #include <time.h> #include <signal.h> #include "tdb.h" -#include "spinlock.h" #define DEBUG #else #include "includes.h" +#include "lib/tdb/include/tdb.h" #endif #ifdef USE_SPINLOCKS diff --git a/source4/lib/tdb/common/tdb.c b/source4/lib/tdb/common/tdb.c index 46b2499179..134ee8a4ea 100644 --- a/source4/lib/tdb/common/tdb.c +++ b/source4/lib/tdb/common/tdb.c @@ -63,9 +63,9 @@ #include <sys/stat.h> #include <signal.h> #include "tdb.h" -#include "spinlock.h" #else #include "includes.h" +#include "lib/tdb/include/tdb.h" #include "system/time.h" #include "system/shmem.h" #include "system/filesys.h" diff --git a/source4/lib/tdb/common/tdbutil.c b/source4/lib/tdb/common/tdbutil.c index b5187162cf..02a1d66cbe 100644 --- a/source4/lib/tdb/common/tdbutil.c +++ b/source4/lib/tdb/common/tdbutil.c @@ -19,6 +19,7 @@ */ #include "includes.h" +#include "lib/tdb/include/tdbutil.h" #include "system/glob.h" #include "system/wait.h" #include "dlinklist.h" |