From: Rahul Bedarkar Date: Thu, 18 Aug 2016 17:41:30 +0000 (+0530) Subject: fs-tests: integrity: don't include header X-Git-Tag: v2.0.0-rc1~41 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=fd6fc61227867179c87b6ee5d2199b3976ffef12;p=mtd-utils.git fs-tests: integrity: don't include header In commit ca7a5eda221d("integck.c: Fix buffer overflow in save_file") we started including header . But with musl C library, we get following build error integck.c:37:28: fatal error: bits/stdio_lim.h: No such file or directory #include ^ compilation terminated. make[2]: *** [integck] Error 1 Header is not available in musl C library. However has all definition that supposed to be providing. Moreover shouldn't be included directly instead we should be using . Since we already include and in case of uClibc or glibc gets included internally, we can safely remove it. This build issue is found by Buildroot autobuilder http://autobuild.buildroot.net/results/175/1754861457af520480cc34d7d2d0edff2868ff66/ Fixes: ca7a5eda221d("integck.c: Fix buffer overflow in save_file") Signed-off-by: Rahul Bedarkar Signed-off-by: Richard Weinberger --- diff --git a/tests/fs-tests/integrity/integck.c b/tests/fs-tests/integrity/integck.c index 8badd1f..c6319fb 100644 --- a/tests/fs-tests/integrity/integck.c +++ b/tests/fs-tests/integrity/integck.c @@ -32,7 +32,6 @@ #include #include #include -#include #include #include #include