1 #ifndef _LDB_PRIVATE_INCLUDES_H_
2 #define _LDB_PRIVATE_INCLUDES_H_
4 a temporary includes file until I work on the ldb build system
9 /* tell ldb we have the internal ldap code */
14 #endif /*_SAMBA_BUILD_*/
33 #include <sys/types.h>
39 #ifdef HAVE_INTTYPES_H
46 #define discard_const(ptr) ((void *)((intptr_t)(ptr)))
47 #define discard_const_p(type, ptr) ((type *)discard_const(ptr))
48 #ifndef HAVE_COMPARISON_FN_T
49 typedef int (*comparison_fn_t)(const void *, const void *);
55 #include "ldb_errors.h"
56 #include "ldb_private.h"
57 #include "dlinklist.h"
59 #endif /*_LDB_PRIVATE_INCLUDES_H_*/