To avoid any future build errors, using stdbool instead of defining bool. Signed-off-by: Nadav Amit <nadav.amit@xxxxxxxxx> --- lib/libcflat.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/libcflat.h b/lib/libcflat.h index 7529958..b94d0ac 100644 --- a/lib/libcflat.h +++ b/lib/libcflat.h @@ -24,6 +24,7 @@ #include <stddef.h> #include <stdint.h> #include <string.h> +#include <stdbool.h> #define __unused __attribute__((__unused__)) @@ -53,10 +54,6 @@ typedef uint64_t u64; typedef int64_t s64; typedef unsigned long ulong; -typedef _Bool bool; -#define false 0 -#define true 1 - #if __SIZEOF_LONG__ == 8 # define __PRI32_PREFIX # define __PRI64_PREFIX "l" -- 2.17.1