summaryrefslogtreecommitdiff
path: root/lib/types.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-01-08 10:14:00 -0700
committerJens Axboe <axboe@kernel.dk>2019-01-08 10:14:00 -0700
commit57fa61f06590a4ad0f8eb75712743243ed89b78a (patch)
tree498b668f4a8c38a91bcb889d60e45aefd60de277 /lib/types.h
parente2239016d4839aeb54b5da61f94baf0d518233fb (diff)
downloadfio-57fa61f06590a4ad0f8eb75712743243ed89b78a.tar.gz
fio-57fa61f06590a4ad0f8eb75712743243ed89b78a.tar.bz2
configure: add __kernel_rwf_t check
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/types.h')
-rw-r--r--lib/types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/types.h b/lib/types.h
index 236bf8a3..d92b064c 100644
--- a/lib/types.h
+++ b/lib/types.h
@@ -13,4 +13,8 @@ typedef int bool;
#include <stdbool.h> /* IWYU pragma: export */
#endif
+#if !defined(CONFIG_HAVE_KERNEL_RWF_T)
+typedef int __kernel_rwf_t;
+#endif
+
#endif