From 6617d15a660becc23825007ab3fc2d270b5b250f Mon Sep 17 00:00:00 2001 From: Jaegeuk Kim Date: Thu, 24 Oct 2024 20:33:38 +0000 Subject: [PATCH] f2fs-tools: use stdbool.h instead of bool The existing bool definition is broken for c23, where bool is now a keyword. Signed-off-by: Elliott Hughes Signed-off-by: Jaegeuk Kim --- include/f2fs_fs.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- a/include/f2fs_fs.h +++ b/include/f2fs_fs.h @@ -26,6 +26,7 @@ #include #include #include +#include #ifdef HAVE_CONFIG_H #include @@ -103,9 +104,6 @@ typedef uint16_t u16; typedef uint8_t u8; typedef u32 block_t; typedef u32 nid_t; -#ifndef bool -typedef u8 bool; -#endif typedef unsigned long pgoff_t; typedef unsigned short umode_t;