]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libgo: don't include <linux/fs.h> when building gen-sysinfo.go
authorIan Lance Taylor <iant@golang.org>
Wed, 13 Jul 2022 02:42:43 +0000 (19:42 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 13 Jul 2022 16:02:20 +0000 (09:02 -0700)
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

gcc/go/gofrontend/MERGE
libgo/sysinfo.c

index 7c5c45672d78ea45fc49d1073a696eb528d52440..5ea0406cd8ea4dbf7ff42efc737b46cc937c71d8 100644 (file)
@@ -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.
index a4259c02ded4d618ae499e0ca133d643835cb473..fc0210992faa3a0608f06c5992f85a59ff7e04d4 100644 (file)
 #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