summaryrefslogtreecommitdiff
path: root/src/include/liburing/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/liburing/compat.h')
-rw-r--r--src/include/liburing/compat.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/liburing/compat.h b/src/include/liburing/compat.h
new file mode 100644
index 0000000..d322499
--- /dev/null
+++ b/src/include/liburing/compat.h
@@ -0,0 +1,8 @@
+#ifndef LIBURING_COMPAT_H
+#define LIBURING_COMPAT_H
+
+#if !defined(CONFIG_HAVE_KERNEL_RWF_T)
+typedef int __kernel_rwf_t;
+#endif
+
+#endif