summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2009-02-25 10:02:41 -0500
committerSimo Sorce <idra@samba.org>2009-02-25 10:02:41 -0500
commitfd3f3e68f2e6be0196473f641f8edb41e40ca761 (patch)
treecb9716b45ce8d439f44f76664f37431010462b8a /source4/lib
parent59cc0c09d5413d1264758bef505856f5f56131e4 (diff)
downloadsamba-fd3f3e68f2e6be0196473f641f8edb41e40ca761.tar.gz
samba-fd3f3e68f2e6be0196473f641f8edb41e40ca761.tar.bz2
samba-fd3f3e68f2e6be0196473f641f8edb41e40ca761.zip
Use stdbool.h instead of manually defining bool
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/include/ldb.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h
index eb8e0ed11e..be41151409 100644
--- a/source4/lib/ldb/include/ldb.h
+++ b/source4/lib/ldb/include/ldb.h
@@ -46,16 +46,7 @@
#define _LDB_H_ 1
/*! \endcond */
-#ifndef bool
-typedef int bool;
-#endif
-#ifndef true
-#define true 1
-#endif
-#ifndef false
-#define false 0
-#endif
-
+#include <stdbool.h>
#include "talloc.h"
#include "tevent.h"
#include "ldb_errors.h"