summaryrefslogtreecommitdiff
path: root/system/gcc/332-gccgo-sysinfo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/gcc/332-gccgo-sysinfo.patch')
-rw-r--r--system/gcc/332-gccgo-sysinfo.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/system/gcc/332-gccgo-sysinfo.patch b/system/gcc/332-gccgo-sysinfo.patch
new file mode 100644
index 000000000..822bc53c9
--- /dev/null
+++ b/system/gcc/332-gccgo-sysinfo.patch
@@ -0,0 +1,12 @@
+--- gcc-8.3.0/libgo/sysinfo.c.old 2018-06-22 14:25:34.000000000 +0000
++++ gcc-8.3.0/libgo/sysinfo.c 2019-02-27 20:18:38.740000000 +0000
+@@ -73,9 +73,6 @@
+ #include <sys/times.h>
+ #include <sys/wait.h>
+ #include <sys/un.h>
+-#if defined(HAVE_SYS_USER_H)
+-#include <sys/user.h>
+-#endif
+ #if defined(HAVE_SYS_UTSNAME_H)
+ #include <sys/utsname.h>
+ #endif