Message ID | 20241024213154.2581358-1-jaegeuk@kernel.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [f2fs-dev] f2fs-tools: use stdbool.h instead of bool | expand |
diff --git a/include/f2fs_fs.h b/include/f2fs_fs.h index 9534da98ca53..0cb9228288c0 100644 --- a/include/f2fs_fs.h +++ b/include/f2fs_fs.h @@ -28,6 +28,7 @@ #include <stddef.h> #include <string.h> #include <time.h> +#include <stdbool.h> #ifdef HAVE_CONFIG_H #include <config.h> @@ -119,9 +120,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;