summaryrefslogtreecommitdiff
path: root/lib/types.h
blob: d92b064c25101f3858ee5a548edb2815b8c8bd22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef FIO_TYPES_H
#define FIO_TYPES_H

#if !defined(CONFIG_HAVE_BOOL) && !defined(__cplusplus)
typedef int bool;
#ifndef false
#define false	0
#endif
#ifndef true
#define true	1
#endif
#else
#include <stdbool.h> /* IWYU pragma: export */
#endif

#if !defined(CONFIG_HAVE_KERNEL_RWF_T)
typedef int __kernel_rwf_t;
#endif

#endif