f2fs-tools: add HAVE_PREAD and HAVE_PWRITE
This patch will enable pread and pwrite support on Android platform.
Signed-off-by: LongPing Wei <weilongping@oppo.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Reviewed-by: Sheng Yong <shengyong@oppo.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
diff --git a/include/android_config.h b/include/android_config.h
index f5cd4de..b11e2e4 100644
--- a/include/android_config.h
+++ b/include/android_config.h
@@ -36,6 +36,8 @@
#define HAVE_FSTAT64 1
#define HAVE_GETMNTENT 1
#define HAVE_MEMSET 1
+#define HAVE_PREAD 1
+#define HAVE_PWRITE 1
#define HAVE_SELINUX_ANDROID_H 1
#define HAVE_SETMNTENT 1
#define HAVE_SPARSE_SPARSE_H 1