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:
parent
815b790c96
commit
7bce1ab5e8
@ -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
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user