diff options
author | Ian Lance Taylor <iant@golang.org> | 2022-07-12 19:42:43 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2022-07-13 09:02:20 -0700 |
commit | f35d65517a59565758107c5b1a51a5fa382f8d1a (patch) | |
tree | 87c5f4d7f3fad178574c763f889c532a0da098c0 | |
parent | 1184f677d6e17033572ecc5e97ea5ee627627908 (diff) | |
download | gcc-f35d65517a59565758107c5b1a51a5fa382f8d1a.zip gcc-f35d65517a59565758107c5b1a51a5fa382f8d1a.tar.gz gcc-f35d65517a59565758107c5b1a51a5fa382f8d1a.tar.bz2 |
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
-rw-r--r-- | gcc/go/gofrontend/MERGE | 2 | ||||
-rw-r--r-- | libgo/sysinfo.c | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index 7c5c456..5ea0406 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -1,4 +1,4 @@ -d295a0a2c96c0f7c3abd94fea3aa4e2303bf2af2 +ff68b1a147eb60082fd60c198db0ef5477ade938 The first line of this file holds the git revision number of the last merge done from the gofrontend repository. diff --git a/libgo/sysinfo.c b/libgo/sysinfo.c index a4259c0..fc02109 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 |