1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

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.
This commit is contained in:
Simo Sorce 2009-10-11 09:42:59 -04:00
parent 815b790c96
commit 7bce1ab5e8
2 changed files with 1 additions and 7 deletions

View File

@ -20,7 +20,7 @@
*/
#include "includes.h"
#include "../tdb/include/tdb.h"
#include "tdb.h"
#include "../lib/util/util_tdb.h"
/* these are little tdb utility functions that are meant to make

View File

@ -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 */