Re: [f2fs-dev] [PATCH] f2fs-tools: fix compile errors on AOSP

2018-06-21 Thread Chao Yu
On 2018/6/20 21:06, Junling Zheng wrote:
> Include needed header files directly to fix compile errors on AOSP.
> 
> Signed-off-by: Junling Zheng 

Reviewed-by: Chao Yu 

Thanks,


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel


[f2fs-dev] [PATCH] f2fs-tools: fix compile errors on AOSP

2018-06-20 Thread Junling Zheng
Include needed header files directly to fix compile errors on AOSP.

Signed-off-by: Junling Zheng 
---
 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 49ecee9..0a1ed84 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.17.0


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel