r22028: Fix include path for the srcidr != builddir case.
[gd/samba/.git] / source4 / lib / ldb / include / 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
20
21 #define discard_const(ptr) ((void *)((intptr_t)(ptr)))
22 #define discard_const_p(type, ptr) ((type *)discard_const(ptr))
23
24 #include "replace.h"
25 #include "system/filesys.h"
26 #include "system/network.h"
27 #include "system/time.h"
28 #include "talloc/talloc.h"
29 #include "ldb.h"
30 #include "ldb_errors.h"
31 #include "ldb_private.h"
32 #include "dlinklist.h"
33
34 #endif /*_LDB_PRIVATE_INCLUDES_H_*/