diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2022-05-25 10:33:05 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2022-05-25 10:33:05 -0700 |
commit | adcec10b4deefe7996da18dccb7524f9e46df2fe (patch) | |
tree | 7a1f9975899fefbc2fdbe9a8545d9129d24d5a1d | |
parent | efc2bc71b3fa4971fdf8df466dfd1464287e7afa (diff) | |
download | f2fs-tools-adcec10b4deefe7996da18dccb7524f9e46df2fe.tar.gz |
Support zoned device if libc exists
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
-rw-r--r-- | include/android_config.h | 8 |
1 files 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__) |