core/pkgs/by-name/gc/gcc/patches/6/gogcc-workaround-glibc-2.36.patch

15 lines
376 B
Diff
Raw Normal View History

2024-05-02 00:46:19 +00:00
diff --git a/libgo/mksysinfo.sh b/libgo/mksysinfo.sh
index dd456e907..24e607c7b 100755
--- a/libgo/mksysinfo.sh
+++ b/libgo/mksysinfo.sh
@@ -148,9 +148,6 @@ cat > sysinfo.c <<EOF
#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