summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/include/ldb.h
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2009-02-23 17:35:49 -0500
committerSimo Sorce <idra@samba.org>2009-02-23 17:38:11 -0500
commit1cd7fe71940b7420dd478321b8368a31ae713917 (patch)
tree4f03599f3aa40521a5a142fa6f37160233ff8d62 /source4/lib/ldb/include/ldb.h
parentcf7539abfb0f6e6956bed7a478e0cda6ab734674 (diff)
downloadsamba-1cd7fe71940b7420dd478321b8368a31ae713917.tar.gz
samba-1cd7fe71940b7420dd478321b8368a31ae713917.tar.bz2
samba-1cd7fe71940b7420dd478321b8368a31ae713917.zip
Fix headers, ldb_includes.h is a private header,
do not reference it from ldb.h
Diffstat (limited to 'source4/lib/ldb/include/ldb.h')
-rw-r--r--source4/lib/ldb/include/ldb.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h
index 6990397a74..eb8e0ed11e 100644
--- a/source4/lib/ldb/include/ldb.h
+++ b/source4/lib/ldb/include/ldb.h
@@ -46,7 +46,19 @@
#define _LDB_H_ 1
/*! \endcond */
-#include "ldb_includes.h"
+#ifndef bool
+typedef int bool;
+#endif
+#ifndef true
+#define true 1
+#endif
+#ifndef false
+#define false 0
+#endif
+
+#include "talloc.h"
+#include "tevent.h"
+#include "ldb_errors.h"
/*
major restrictions as compared to normal LDAP: