From 8af586d3a2cc8a91eb57a07c5c4998d84e3c1f3a Mon Sep 17 00:00:00 2001 From: Junling Zheng Date: Wed, 20 Jun 2018 21:06:16 +0800 Subject: [PATCH] f2fs-tools: fix compile errors on AOSP Include needed header files directly to fix compile errors on AOSP. Signed-off-by: Junling Zheng Reviewed-by: Chao Yu Signed-off-by: Jaegeuk Kim --- include/f2fs_fs.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/include/f2fs_fs.h b/include/f2fs_fs.h index e297f3f..36f3c62 100644 --- a/include/f2fs_fs.h +++ b/include/f2fs_fs.h @@ -13,6 +13,8 @@ #define __F2FS_FS_H__ #include +#include +#include #ifdef HAVE_CONFIG_H #include #endif @@ -40,14 +42,6 @@ #include #endif -#ifdef HAVE_STDLIB_H -#include -#endif - -#ifdef HAVE_STRING_H -#include -#endif - #ifdef HAVE_LIBSELINUX #include #include -- 2.7.4