Commit | Line | Data |
---|---|---|
e39c0676 JA |
1 | #ifndef FIO_TYPES_H |
2 | #define FIO_TYPES_H | |
3 | ||
966fcbd4 | 4 | #if !defined(CONFIG_HAVE_BOOL) && !defined(__cplusplus) |
e39c0676 JA |
5 | typedef int bool; |
6 | #ifndef false | |
7 | #define false 0 | |
8 | #endif | |
9 | #ifndef true | |
10 | #define true 1 | |
11 | #endif | |
12 | #else | |
c473a9bd | 13 | #include <stdbool.h> /* IWYU pragma: export */ |
e39c0676 JA |
14 | #endif |
15 | ||
57fa61f0 JA |
16 | #if !defined(CONFIG_HAVE_KERNEL_RWF_T) |
17 | typedef int __kernel_rwf_t; | |
18 | #endif | |
19 | ||
e39c0676 | 20 | #endif |