summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2018-11-20 10:39:28 +0100
committerGary Lockyer <gary@samba.org>2018-11-22 22:13:27 +0100
commit1642dc2fd4c3e89bab127c5c1d0b675d1c5cb6f9 (patch)
tree5cfa2aaaa14afb292447a1138f62158ee88c6942 /source3
parent2a418f731b220d75f27c9885c373d7a2c0b41b57 (diff)
downloadsamba-1642dc2fd4c3e89bab127c5c1d0b675d1c5cb6f9.tar.gz
s3:lib: Do not redefine bool and use stdbool.h
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/util_sec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_sec.c b/source3/lib/util_sec.c
index 703c522d77b..94082697def 100644
--- a/source3/lib/util_sec.c
+++ b/source3/lib/util_sec.c
@@ -28,6 +28,7 @@
#if defined(HAVE_UNISTD_H)
#include <unistd.h>
#endif
+#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
@@ -42,7 +43,6 @@
#define DEBUG(x, y) printf y
#define smb_panic(x) exit(1)
-#define bool int
#endif
/* are we running as non-root? This is used by the regresison test code,