Fix the mess with ldb includes.
[ira/wip.git] / source4 / lib / ldb / include / ldb_includes.h
1 #ifndef _LDB_PRIVATE_INCLUDES_H_
2 #define _LDB_PRIVATE_INCLUDES_H_
3 /*
4   a temporary includes file until I work on the ldb build system
5 */
6
7 #if (_SAMBA_BUILD_ >= 4)
8 /* tell ldb we have the internal ldap code */
9 #define HAVE_ILDAP 1
10 #endif
11
12 #if (_SAMBA_BUILD_ <= 3)
13 /* allow forbidden string functions - should be replaced with _m functions */
14 #undef strcasecmp
15 #undef strncasecmp
16 #define dyn_MODULESDIR dyn_LIBDIR
17 #endif
18
19 #include "replace.h"
20 #include "system/filesys.h"
21 #include "system/time.h"
22 #include <talloc.h>
23 #include <tevent.h>
24 #include "ldb_errors.h"
25 #include "dlinklist.h"
26
27 #endif /*_LDB_PRIVATE_INCLUDES_H_*/