From patchwork Mon Feb 3 10:10:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ldurfina@tachyum.com X-Patchwork-Id: 37649 Received: (qmail 25978 invoked by alias); 3 Feb 2020 10:10:39 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 25579 invoked by uid 89); 3 Feb 2020 10:10:39 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-22.7 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_PASS autolearn=ham version=3.3.1 spammy=H*r:0800 X-HELO: mail.tachyum.com Received: from mail.tachyum.com (HELO mail.tachyum.com) (66.160.133.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 03 Feb 2020 10:10:38 +0000 Received: by mail.tachyum.com (Postfix, from userid 1001) id 082B6626; Mon, 3 Feb 2020 02:10:41 -0800 (PST) Received: from THQ-IP-EX1.tachyum.com (relayhost.tachyum.com [10.7.1.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mail.tachyum.com (Postfix) with ESMTPS id 9DC8C246 for ; Mon, 3 Feb 2020 02:10:40 -0800 (PST) Received: from tachyum-sk-server.tachyum.com (10.7.241.13) by THQ-IP-EX1.tachyum.com (10.7.1.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1779.2; Mon, 3 Feb 2020 02:10:23 -0800 From: Lukas Durfina To: Subject: [PATCH] [gdb/testsuite] Fix compilation error with musl in gdb/testsuite/gdb.base/fileio.c Date: Mon, 3 Feb 2020 11:10:11 +0100 Message-ID: <20200203101011.22560-1-ldurfina@tachyum.com> In-Reply-To: <20200201101548.GA19442@adacore.com> References: <20200201101548.GA19442@adacore.com> MIME-Version: 1.0 Musl is giving warnings about these includes in this way: warning: #warning redirecting incorrect #include to warning: #warning redirecting incorrect #include to gdb/testsuite/Changelog: * gdb.base/fileio.c: Remove #include of . Replace #include of by . --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/fileio.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index b5ba5ba59d..9fd6cea172 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-02-03 Lukas Durfina + + * gdb.base/fileio.c: Remove #include of . + Replace #include of by . + 2020-02-01 Tom de Vries * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo. diff --git a/gdb/testsuite/gdb.base/fileio.c b/gdb/testsuite/gdb.base/fileio.c index 7f482a34d3..0f201518b7 100644 --- a/gdb/testsuite/gdb.base/fileio.c +++ b/gdb/testsuite/gdb.base/fileio.c @@ -1,13 +1,12 @@ #include #include #include -#include #include -#include #include #include #include #include +#include #include #include /* TESTS :