#ifndef _LDB_PRIVATE_INCLUDES_H_ #define _LDB_PRIVATE_INCLUDES_H_ /* a temporary includes file until I work on the ldb build system */ #ifdef _SAMBA_BUILD_ /* tell ldb we have the internal ldap code */ #define HAVE_ILDAP 1 #endif #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif #include "replace.h" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifdef HAVE_STDINT_H #include #endif #ifdef HAVE_INTTYPES_H #include #endif #ifdef HAVE_DLFCN_H #include #endif #define discard_const(ptr) ((void *)((intptr_t)(ptr))) #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) #ifndef HAVE_COMPARISON_FN_T typedef int (*comparison_fn_t)(const void *, const void *); #endif #include "talloc.h" #include "ldb.h" #include "ldb_errors.h" #include "ldb_private.h" #include "dlinklist.h" #endif /*_LDB_PRIVATE_INCLUDES_H_*/