diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-01-06 02:11:18 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-01-06 02:11:18 +0000 |
commit | 669a769ebb5301f92fc83b77b78a060bec2c0c36 (patch) | |
tree | f9562fdba04d31b18892b8c107995c3e97be8493 | |
parent | 1d7607109b974d429cb5cc19a7584df8b4005a72 (diff) | |
parent | d53db6851ea17b2d219d084e1afc683b8b62b105 (diff) | |
download | liburing-android13-d1-s3-release.tar.gz |
Snap for 8046958 from d53db6851ea17b2d219d084e1afc683b8b62b105 to tm-d1-releaseandroid-13.0.0_r9android-13.0.0_r15android-13.0.0_r14android-13.0.0_r13android-13.0.0_r11android-13.0.0_r10android13-d1-s3-releaseandroid13-d1-s2-releaseandroid13-d1-s1-releaseandroid13-d1-release
Change-Id: I4d9e869e981d6e89cc0b8dadec887019ae958927
-rw-r--r-- | Android.bp | 3 | ||||
-rw-r--r-- | src/include/liburing/compat.h | 10 |
2 files changed, 10 insertions, 3 deletions
@@ -31,6 +31,7 @@ cc_defaults { "-Werror", "-Wno-pointer-arith", ], + include_dirs: ["bionic/libc/kernel"], export_include_dirs: ["src/include"], srcs: [ "src/queue.c", @@ -48,4 +49,6 @@ cc_library_static { 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 |