f2fs-tools: use android config only if there's no config.h

commit 4d9c009c343ce1247d9df583b22110f348201b3d
category: bugfix
issue: #I6VAS0
CVE: NA

Signed-off-by: DongSenhao <dongsenhao2@huawei.com>
---------------------------------------

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: dongsenhao <dongsenhao2@huawei.com>
This commit is contained in:
Jaegeuk Kim 2022-04-22 14:01:31 -07:00 committed by dongsenhao
parent 5ddd2c6685
commit 43aa4d3b7b

View File

@ -26,13 +26,14 @@
#include <stddef.h>
#include <string.h>
#include <time.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#else
#ifdef __ANDROID__
#define WITH_ANDROID
#endif
#endif /* HAVE_CONFIG_H */
#ifdef WITH_ANDROID
#include <android_config.h>