From: Ian Lance Taylor Date: Wed, 28 Sep 2011 13:14:11 +0000 (+0000) Subject: mksysinfo: #include on Irix. X-Git-Tag: releases/gcc-4.7.0~3492 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fbfb84e623787c68f78eb526b63efb3317a88306;p=thirdparty%2Fgcc.git mksysinfo: #include on Irix. From Rainer Orth. From-SVN: r179312 --- diff --git a/libgo/mksysinfo.sh b/libgo/mksysinfo.sh index 85dd33c65d09..f959d640fdc8 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