diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2011-06-20 18:40:25 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2011-06-20 11:18:34 +0200 |
commit | 0e4c358e2710580d5aeb439d767c87aaf4c0f2f3 (patch) | |
tree | aeca32c597485b907e017e7dd580c9603af14ee2 /source3/smbd | |
parent | 61bf43f5d17c9ac3fc9a36cab74a81f26ac97ccb (diff) | |
download | samba-0e4c358e2710580d5aeb439d767c87aaf4c0f2f3.tar.gz samba-0e4c358e2710580d5aeb439d767c87aaf4c0f2f3.tar.bz2 samba-0e4c358e2710580d5aeb439d767c87aaf4c0f2f3.zip |
tdb_compat.h: divert every tdb build and includes to tdb_compat
We change all the headers and wscript files to use tdb_compat; this
means we have one place to decide whether to use TDB1 or TDB2.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/globals.c | 2 | ||||
-rw-r--r-- | source3/smbd/statcache.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/globals.c b/source3/smbd/globals.c index 93f2ad701b..b3cf0bd7d2 100644 --- a/source3/smbd/globals.c +++ b/source3/smbd/globals.c @@ -22,7 +22,7 @@ #include "smbd/globals.h" #include "memcache.h" #include "messages.h" -#include <tdb.h> +#include "tdb_compat.h" #if defined(WITH_AIO) struct aio_extra *aio_list_head = NULL; diff --git a/source3/smbd/statcache.c b/source3/smbd/statcache.c index e2ccc74a87..e1597fdd58 100644 --- a/source3/smbd/statcache.c +++ b/source3/smbd/statcache.c @@ -25,7 +25,7 @@ #include "smbd/smbd.h" #include "messages.h" #include "smbprofile.h" -#include <tdb.h> +#include "tdb_compat.h" /**************************************************************************** Stat cache code used in unix_convert. |