summaryrefslogtreecommitdiffstats
path: root/src/stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stat.c')
-rw-r--r--src/stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stat.c b/src/stat.c
index b67ad0e..b172780 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -28,7 +28,7 @@
# include <sys/param.h>
#endif
-#ifdef STATX_BASIC_STATS
+#if defined(STATX_BASIC_STATS) && (!__ANDROID__ || __ANDROID_API__ >= 30)
# define BFS_LIBC_STATX true
#elif __linux__
# include <linux/stat.h>