diff options
-rw-r--r-- | Android.bp | 6 | ||||
-rw-r--r-- | include/event2/event-config-linux.h | 2 |
2 files changed, 8 insertions, 0 deletions
@@ -49,6 +49,7 @@ license { cc_library { name: "libevent", host_supported: true, + ramdisk_available: true, recovery_available: true, vendor_available: true, product_available: true, @@ -115,4 +116,9 @@ cc_library { srcs: ["kqueue.c"], }, }, + min_sdk_version: "30", + apex_available: [ + "//apex_available:platform", + "com.android.bluetooth", + ], } diff --git a/include/event2/event-config-linux.h b/include/event2/event-config-linux.h index 7c43c78..52ac09f 100644 --- a/include/event2/event-config-linux.h +++ b/include/event2/event-config-linux.h @@ -352,7 +352,9 @@ #define EVENT__HAVE_SYS_STAT_H 1 /* Define to 1 if you have the <sys/sysctl.h> header file. */ +#if !defined(ANDROID_HOST_MUSL) #define EVENT__HAVE_SYS_SYSCTL_H 1 +#endif /* Define to 1 if you have the <sys/timerfd.h> header file. */ #define HAVE_SYS_TIMERFD_H 1 |