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)
committerMartin Liska <mliska@suse.cz>
Thu, 21 Jul 2022 11:39:43 +0000 (13:39 +0200)
commit4f15d2234608e82159d030dadb17af678cfad626
tree7ec0460c22ecf2d39c5100d05906d976b4ee4c75
parentf29c845782c43bda89820566648b921203bb967b
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)
libgo/sysinfo.c