summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_tdb/ldb_tdb.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-22 23:22:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:19:15 -0500
commit58619eebc10cf3e1828f8ecad1362d98ca4e9845 (patch)
treeb120fcc7d8f9076e131e53aa7ca61f8cbc9413b1 /source4/lib/ldb/ldb_tdb/ldb_tdb.h
parent6c86ed60fc6111f3f0091e5dadbc70b39d6cfb93 (diff)
downloadsamba-58619eebc10cf3e1828f8ecad1362d98ca4e9845.tar.gz
samba-58619eebc10cf3e1828f8ecad1362d98ca4e9845.tar.bz2
samba-58619eebc10cf3e1828f8ecad1362d98ca4e9845.zip
r18831: minor build changes for samba3. The logging changes will be removed
when the tdb api is updated (This used to be commit 6ace943fac101839e35cbc83dc54fde2068f704b)
Diffstat (limited to 'source4/lib/ldb/ldb_tdb/ldb_tdb.h')
-rw-r--r--source4/lib/ldb/ldb_tdb/ldb_tdb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/lib/ldb/ldb_tdb/ldb_tdb.h b/source4/lib/ldb/ldb_tdb/ldb_tdb.h
index 7b98b9ddee..670d3b6801 100644
--- a/source4/lib/ldb/ldb_tdb/ldb_tdb.h
+++ b/source4/lib/ldb/ldb_tdb/ldb_tdb.h
@@ -1,7 +1,12 @@
#ifdef _SAMBA_BUILD_
#include "system/filesys.h"
+#endif
+
+#if (_SAMBA_BUILD_ >= 4)
#include "lib/tdb/include/tdb.h"
+#elif defined(_SAMBA_BUILD_)
+#include "tdb/include/tdb.h"
#else
#include "tdb.h"
#endif