From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7852) id 68B57385840E; Fri, 10 May 2024 02:55:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 68B57385840E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1715309742; bh=7gQpLQ06xESyWDHiHF/u58hFjCieda959uQZbO9BnEc=; h=From:To:Subject:Date:From; b=GnLMOtYIHUKspfcTODLyS7BchQQnWovQRKCVrrBtvFz8GVgR+0jnNYHUQepaynlqL MAeNcH/dmyAb+WxkjgMuWu3R9Gp58klXLRpJu2gVqCu1MaEPyqVcwgN4iZ+/dsU1dI j7Uqaeb5NTYGSPLUbmaEyw0RiH4Ny5D01OmCwBXk= MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" From: Sunil Pandey To: glibc-cvs@sourceware.org Subject: [glibc/release/2.28/master] testsuite: stdlib/isomac.c: add missing include X-Act-Checkin: glibc X-Git-Author: Aurelien Jarno X-Git-Refname: refs/heads/release/2.28/master X-Git-Oldrev: 13f1198286d641cf264710b435bd36728379a6d0 X-Git-Newrev: c0a523f13b0868d03046a7e479fe5fb7039bd397 Message-Id: <20240510025542.68B57385840E@sourceware.org> Date: Fri, 10 May 2024 02:55:42 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c0a523f13b0868d03046a7e479fe5fb7039bd397 commit c0a523f13b0868d03046a7e479fe5fb7039bd397 Author: Aurelien Jarno Date: Tue Jan 8 21:10:28 2019 +0100 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: --- ChangeLog | 4 ++++ stdlib/isomac.c | 1 + 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index f9157d179b..95b7e2a59e 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 0873eaa505..439b000734 100644 --- a/stdlib/isomac.c +++ b/stdlib/isomac.c @@ -74,6 +74,7 @@ #include #include #include +#include #define HEADER_MAX 256