From: Aurelien Jarno Date: Tue, 8 Jan 2019 20:10:28 +0000 (+0100) Subject: testsuite: stdlib/isomac.c: add missing include X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0a523f13b0868d03046a7e479fe5fb7039bd397;p=thirdparty%2Fglibc.git testsuite: stdlib/isomac.c: add missing include When running the testsuite, building stdlib/isomac.c outputs the following warning: gcc -O -D_GNU_SOURCE -DIS_IN_build -include /home/aurel32/glibc-build/config.h isomac.c -o /home/aurel32/glibc-build/stdlib/isomac isomac.c: In function ‘get_null_defines’: isomac.c:260:3: warning: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Wimplicit-function-declaration] close (fd); ^~~~~ pclose Fix that by adding the include. Changelog: * stdlib/isomac.c: Include . (cherry picked from commit 11f382ee780649549428cb25af3a9f1d3465868d) --- diff --git a/ChangeLog b/ChangeLog index f9157d179b6..95b7e2a59e6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2019-02-03 Aurelien Jarno + + * stdlib/isomac.c: Include . + 2018-11-07 Florian Weimer Implement TEST_COMPARE_STRING. diff --git a/stdlib/isomac.c b/stdlib/isomac.c index 0873eaa5058..439b000734f 100644 --- a/stdlib/isomac.c +++ b/stdlib/isomac.c @@ -74,6 +74,7 @@ #include #include #include +#include #define HEADER_MAX 256