aboutsummaryrefslogtreecommitdiff
path: root/libgo/sysinfo.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2018-06-22 14:25:52 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2018-06-22 14:25:52 +0000
commit38a4d6da179a0c88cc8b697470f928488e0553ee (patch)
tree4091ced53bb61d9a7f86a2957b2259bfdcbd56d4 /libgo/sysinfo.c
parent626d407be8579bca557958353844a87d15ef5849 (diff)
downloadgcc-38a4d6da179a0c88cc8b697470f928488e0553ee.zip
gcc-38a4d6da179a0c88cc8b697470f928488e0553ee.tar.gz
gcc-38a4d6da179a0c88cc8b697470f928488e0553ee.tar.bz2
syscall: remove Ustat
glibc 2.28 removes ustat.h and the ustat function entirely, which breaks syscall.Ustat. Updates golang/go#25990 Reviewed-on: https://go-review.googlesource.com/120535 From-SVN: r261896
Diffstat (limited to 'libgo/sysinfo.c')
-rw-r--r--libgo/sysinfo.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libgo/sysinfo.c b/libgo/sysinfo.c
index fb11826..4ab798c 100644
--- a/libgo/sysinfo.c
+++ b/libgo/sysinfo.c
@@ -144,9 +144,6 @@
#if defined(HAVE_SYS_SYSINFO_H)
#include <sys/sysinfo.h>
#endif
-#if defined(HAVE_USTAT_H)
-#include <ustat.h>
-#endif
#if defined(HAVE_UTIME_H)
#include <utime.h>
#endif