2021-11-25 09:09:10 +00:00
|
|
|
From 0cdfd9c48470d12a448e99f4fa7ce73f206bd42a Mon Sep 17 00:00:00 2001
|
2020-09-04 19:21:25 +00:00
|
|
|
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
|
|
|
|
Date: Sun, 30 Aug 2020 17:58:21 +0200
|
2021-04-25 11:08:48 +00:00
|
|
|
Subject: [PATCH] gcc-go: Don't include sys/user.h
|
2020-09-04 19:21:25 +00:00
|
|
|
MIME-Version: 1.0
|
|
|
|
Content-Type: text/plain; charset=UTF-8
|
|
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
|
|
|
|
Taken from Adélie Linux.
|
|
|
|
---
|
|
|
|
libgo/sysinfo.c | 3 ---
|
|
|
|
1 file changed, 3 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/libgo/sysinfo.c b/libgo/sysinfo.c
|
2021-11-25 09:09:10 +00:00
|
|
|
index 8ce061e2f5f..4d5907a2da5 100644
|
2020-09-04 19:21:25 +00:00
|
|
|
--- a/libgo/sysinfo.c
|
|
|
|
+++ b/libgo/sysinfo.c
|
2021-11-25 09:09:10 +00:00
|
|
|
@@ -78,9 +78,6 @@
|
2020-09-04 19:21:25 +00:00
|
|
|
#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
|
2020-11-13 10:30:52 +00:00
|
|
|
--
|
2021-10-27 19:14:43 +00:00
|
|
|
2.33.1
|
2020-11-13 10:30:52 +00:00
|
|
|
|