summaryrefslogtreecommitdiff
path: root/lib/types.h
diff options
context:
space:
mode:
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