0029-gcc-go-Don-t-include-sys-user.h.patch (737B)
1 From 40322de36043aaa3cbb98d7f01037f53fc1b5a98 Mon Sep 17 00:00:00 2001 2 From: "A. Wilcox" <AWilcox@Wilcox-Tech.com> 3 Date: Sun, 30 Aug 2020 17:58:21 +0200 4 Subject: [PATCH] gcc-go: Don't include sys/user.h 5 MIME-Version: 1.0 6 Content-Type: text/plain; charset=UTF-8 7 Content-Transfer-Encoding: 8bit 8 9 Taken from Adélie Linux. 10 --- 11 libgo/sysinfo.c | 3 --- 12 1 file changed, 3 deletions(-) 13 14 diff --git a/libgo/sysinfo.c b/libgo/sysinfo.c 15 index 0692fd41eb7..c8d987358d9 100644 16 --- a/libgo/sysinfo.c 17 +++ b/libgo/sysinfo.c 18 @@ -73,9 +73,6 @@ 19 #include <sys/times.h> 20 #include <sys/wait.h> 21 #include <sys/un.h> 22 -#if defined(HAVE_SYS_USER_H) 23 -#include <sys/user.h> 24 -#endif 25 #if defined(HAVE_SYS_UTSNAME_H) 26 #include <sys/utsname.h> 27 #endif 28 -- 29 2.31.1 30