From 172234a7113c2e7efac89dfdee8a09fe9f2e539d Mon Sep 17 00:00:00 2001 From: Jaegeuk Kim Date: Wed, 25 May 2022 10:33:05 -0700 Subject: [PATCH] Support zoned device if libc exists Signed-off-by: Jaegeuk Kim --- include/android_config.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/android_config.h b/include/android_config.h index 5f5c693..0744087 100644 --- a/include/android_config.h +++ b/include/android_config.h @@ -4,8 +4,6 @@ #define HAVE_FCNTL_H 1 #define HAVE_FALLOC_H 1 #define HAVE_FSYNC 1 -#define HAVE_KERNEL_UAPI_LINUX_BLKZONED_H 1 -#define HAVE_LINUX_BLKZONED_H 1 #define HAVE_LINUX_HDREG_H 1 #define HAVE_LINUX_LIMITS_H 1 #define HAVE_POSIX_ACL_H 1 @@ -42,6 +40,12 @@ #ifdef WITH_SLOAD #define HAVE_LIBSELINUX 1 #endif + +#ifdef WITH_LIBC +#define HAVE_KERNEL_UAPI_LINUX_BLKZONED_H 1 +#define HAVE_LINUX_BLKZONED_H 1 +#endif + #endif #if defined(__APPLE__)