s3:lib: Do not redefine bool and use stdbool.h
authorAndreas Schneider <asn@samba.org>
Tue, 20 Nov 2018 09:39:28 +0000 (10:39 +0100)
committerGary Lockyer <gary@samba.org>
Thu, 22 Nov 2018 21:13:27 +0000 (22:13 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
source3/lib/util_sec.c

index 703c522d77b88be84e43c160c42d31bd5ab64ee8..94082697deffdebd1cf27763b6659fa8b2ea383e 100644 (file)
@@ -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,