diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-05-05 18:50:56 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:52:00 -0500 |
commit | 52fb06edc25e8538c413df1aaabba18c859a00cf (patch) | |
tree | 20c409c9930232a023ad73672da38f50e29f61c1 /source4/lib/ldb/include/ldb_includes.h | |
parent | be7eb080fe0a2c44187e693681d3478a3dc0c0ee (diff) | |
download | samba-52fb06edc25e8538c413df1aaabba18c859a00cf.tar.gz samba-52fb06edc25e8538c413df1aaabba18c859a00cf.tar.bz2 samba-52fb06edc25e8538c413df1aaabba18c859a00cf.zip |
r22681: Fix standalone ldb build when parent directory name != ldb.
(This used to be commit 1093875d59f1ea9b8bd82277d4f9d8366e584952)
Diffstat (limited to 'source4/lib/ldb/include/ldb_includes.h')
-rw-r--r-- | source4/lib/ldb/include/ldb_includes.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/source4/lib/ldb/include/ldb_includes.h b/source4/lib/ldb/include/ldb_includes.h new file mode 100644 index 0000000000..e2bcca2b04 --- /dev/null +++ b/source4/lib/ldb/include/ldb_includes.h @@ -0,0 +1,29 @@ +#ifndef _LDB_PRIVATE_INCLUDES_H_ +#define _LDB_PRIVATE_INCLUDES_H_ +/* + a temporary includes file until I work on the ldb build system +*/ + +#if (_SAMBA_BUILD_ >= 4) +/* tell ldb we have the internal ldap code */ +#define HAVE_ILDAP 1 +#endif + +#if (_SAMBA_BUILD_ <= 3) +/* allow forbidden string functions - should be replaced with _m functions */ +#undef strcasecmp +#undef strncasecmp +#define dyn_MODULESDIR dyn_LIBDIR +#endif + +#include "replace.h" +#include "system/filesys.h" +#include "system/network.h" +#include "system/time.h" +#include "talloc.h" +#include "ldb.h" +#include "ldb_errors.h" +#include "ldb_private.h" +#include "dlinklist.h" + +#endif /*_LDB_PRIVATE_INCLUDES_H_*/ |