summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2009-10-11 09:42:59 -0400
committerSimo Sorce <idra@samba.org>2009-10-11 09:48:53 -0400
commit7bce1ab5e88dd4cf5599ad3a986fbbf8fc61f9d5 (patch)
tree4d20efedc1240a5782799d1746386e004a807b0e /source3
parent815b790c96c72cb995c983bbbc3cc95801aaacaa (diff)
downloadsamba-7bce1ab5e88dd4cf5599ad3a986fbbf8fc61f9d5.tar.gz
samba-7bce1ab5e88dd4cf5599ad3a986fbbf8fc61f9d5.tar.bz2
samba-7bce1ab5e88dd4cf5599ad3a986fbbf8fc61f9d5.zip
Fix builds with external tdb
Make sure we do not reference our internal tdb directly. Let configure define what tdb.h file to use so that builds that use an extrenal tdb do not include 2 different versions of the tdb header.
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/ldb/ldb_tdb/ldb_tdb.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/source3/lib/ldb/ldb_tdb/ldb_tdb.h b/source3/lib/ldb/ldb_tdb/ldb_tdb.h
index 486d948fa0..caf8ba8d0c 100644
--- a/source3/lib/ldb/ldb_tdb/ldb_tdb.h
+++ b/source3/lib/ldb/ldb_tdb/ldb_tdb.h
@@ -3,13 +3,7 @@
#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
/* this private structure is used by the ltdb backend in the
ldb_context */