aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Lee <rgl@google.com>2022-09-09 08:05:51 +0000
committerJaegeuk Kim <jaegeuk@kernel.org>2022-09-09 16:38:56 -0700
commit5a5e419d51d7f7a3019a903a4b3f9b8d6e2a872a (patch)
treec11f30f510a36782ff31849f3b3f9dc18daab1b8
parent19f77c6f6277a274434d6d8883f50e7955c6a8db (diff)
downloadf2fs-tools-5a5e419d51d7f7a3019a903a4b3f9b8d6e2a872a.tar.gz
Always use sparse/sparse.h when building for Android
Change-Id: Ic903ce09c93de75d6deb700a5a283638a912a25b Test: fastboot erase userdata
-rw-r--r--include/android_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/android_config.h b/include/android_config.h
index 67e5d58..141fe06 100644
--- a/include/android_config.h
+++ b/include/android_config.h
@@ -69,6 +69,7 @@
#define HAVE_GETMNTENT 1
#define HAVE_LLSEEK 1
#define HAVE_MEMSET 1
+#define HAVE_SPARSE_SPARSE_H 1
#define HAVE_LIBLZ4 1
#ifdef WITH_SLOAD
@@ -78,4 +79,5 @@
#if defined(_WIN32)
#define HAVE_LSEEK64
+#define HAVE_SPARSE_SPARSE_H 1
#endif