From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from knopi.disroot.org (knopi.disroot.org [178.21.23.139]) by sourceware.org (Postfix) with ESMTPS id 1CB77386181D for ; Tue, 2 Feb 2021 03:04:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 1CB77386181D Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 042FD50E4D; Tue, 2 Feb 2021 04:04:13 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SxEJ3I9ghYKx; Tue, 2 Feb 2021 04:04:11 +0100 (CET) From: =?UTF-8?q?=C3=89rico=20Nogueira?= To: elfutils-devel@sourceware.org Cc: =?UTF-8?q?=C3=89rico=20Rolim?= Subject: [PATCH v2] backends/ppc_initreg.c: include . Date: Tue, 2 Feb 2021 00:04:03 -0300 Message-Id: <20210202030403.27953-1-ericonr@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-13.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: elfutils-devel@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Elfutils-devel mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2021 03:04:16 -0000 From: Érico Rolim Necessary on musl for struct pt_regs definition, doesn't affect the build on glibc. Signed-off-by: Érico Rolim --- Sending a v2 with the main difference being a slightly different commit message and signed-off-by line. I'm a bit hesitant on this being the correct patch, so I'd ask that you only merge if you think it makes total sense, otherwise I'd like to sit on it for a bit. For the record, it has been in use in Void Linux since the end of 2019. backends/ChangeLog | 4 ++++ backends/ppc_initreg.c | 1 + 2 files changed, 5 insertions(+) diff --git a/backends/ChangeLog b/backends/ChangeLog index f22cd57f..eb15c81d 100644 --- a/backends/ChangeLog +++ b/backends/ChangeLog @@ -1,3 +1,7 @@ +2021-02-01 Érico Nogueira + + * ppc_initreg.c: Also include . + 2020-12-12 Dmitry V. Levin * aarch64_retval.c (aarch64_return_value_location): Fix spelling typo diff --git a/backends/ppc_initreg.c b/backends/ppc_initreg.c index 0e0d3599..72cdb860 100644 --- a/backends/ppc_initreg.c +++ b/backends/ppc_initreg.c @@ -32,6 +32,7 @@ #include #if defined(__powerpc__) && defined(__linux__) +# include # include # include #endif -- 2.30.0