From: Ian Lance Taylor Date: Wed, 28 Sep 2011 13:14:11 +0000 (+0000) Subject: mksysinfo: #include on Irix. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fbfb84e623787c68f78eb526b63efb3317a88306;p=gcc.git mksysinfo: #include on Irix. From Rainer Orth. From-SVN: r179312 --- diff --git a/libgo/mksysinfo.sh b/libgo/mksysinfo.sh index 85dd33c65d0..f959d640fdc 100755 --- a/libgo/mksysinfo.sh +++ b/libgo/mksysinfo.sh @@ -36,9 +36,12 @@ cat > sysinfo.c < /* needs u_char/u_short, but is only included by if _SGIAPI (i.e. _SGI_SOURCE - && !_XOPEN_SOURCE. */ + && !_XOPEN_SOURCE. + only defines TIOCNOTTY if !_XOPEN_SOURCE, while + does so unconditionally. */ #ifdef __sgi__ #include +#include #endif #include #include