diff options
author | Ian Lance Taylor <iant@golang.org> | 2022-07-12 19:42:43 -0700 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2022-07-21 13:39:43 +0200 |
commit | 4f15d2234608e82159d030dadb17af678cfad626 (patch) | |
tree | 7ec0460c22ecf2d39c5100d05906d976b4ee4c75 /libgo | |
parent | f29c845782c43bda89820566648b921203bb967b (diff) |
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)
Diffstat (limited to 'libgo')
-rw-r--r-- | libgo/sysinfo.c | 3 |
1 files changed, 0 insertions, 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 |