public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Martin Liska <marxin@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-8599] libgo: don't include <linux/fs.h> when building gen-sysinfo.go Date: Thu, 21 Jul 2022 11:53:15 +0000 (GMT) [thread overview] Message-ID: <20220721115315.6131B385BAD3@sourceware.org> (raw) https://gcc.gnu.org/g:4f15d2234608e82159d030dadb17af678cfad626 commit r12-8599-g4f15d2234608e82159d030dadb17af678cfad626 Author: Ian Lance Taylor <iant@golang.org> Date: Tue Jul 12 19:42:43 2022 -0700 libgo: don't include <linux/fs.h> when building gen-sysinfo.go Removing this doesn't change anything at least with glibc 2.33. The include was added in https://go.dev/cl/6100049 but it's not clear why. Fixes PR go/106266 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/417294 (cherry picked from commit f35d65517a59565758107c5b1a51a5fa382f8d1a) Diff: --- libgo/sysinfo.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libgo/sysinfo.c b/libgo/sysinfo.c index 8ce061e2f5f..336a5983750 100644 --- a/libgo/sysinfo.c +++ b/libgo/sysinfo.c @@ -158,9 +158,6 @@ #if defined(HAVE_LINUX_ETHER_H) #include <linux/ether.h> #endif -#if defined(HAVE_LINUX_FS_H) -#include <linux/fs.h> -#endif #if defined(HAVE_LINUX_REBOOT_H) #include <linux/reboot.h> #endif
reply other threads:[~2022-07-21 11:53 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220721115315.6131B385BAD3@sourceware.org \ --to=marxin@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).