Snap for 8047209 from 032ff79dc4cc37c73e1ea4e89177398ee854a7df to sdk-release

Change-Id: I56d291bfaf31f0fec76f4e3f729a4af0e79bbf16
diff --git a/Android.bp b/Android.bp
index a7aee0d..4a6eda9 100644
--- a/Android.bp
+++ b/Android.bp
@@ -31,6 +31,7 @@
         "-Werror",
         "-Wno-pointer-arith",
     ],
+    include_dirs: ["bionic/libc/kernel"],
     export_include_dirs: ["src/include"],
     srcs: [
         "src/queue.c",
@@ -48,4 +49,6 @@
     recovery_available: true,
     ramdisk_available: true,
     vendor_ramdisk_available: true,
+    host_supported: true,
+    device_supported: true,
 }
diff --git a/src/include/liburing/compat.h b/src/include/liburing/compat.h
index 1b19d4c..b54b6b2 100644
--- a/src/include/liburing/compat.h
+++ b/src/include/liburing/compat.h
@@ -2,8 +2,12 @@
 #ifndef LIBURING_COMPAT_H
 #define LIBURING_COMPAT_H
 
-#include <linux/time_types.h>
-
+#include <stdint.h>
 #include <inttypes.h>
-#include <linux/openat2.h>
+#include <uapi/linux/openat2.h>
+
+typedef int __kernel_rwf_t;
+
+struct __kernel_timespec;
+
 #endif