diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-09-28 13:14:11 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-09-28 13:14:11 +0000 |
commit | 0469ed088867b0b88267c4c50d77bf61bbb73528 (patch) | |
tree | d483c9d8372a2d6cbdfce3fbd361168509253fec /libgo/mksysinfo.sh | |
parent | 5396abe37a80a2c7c76977b3febb1ed25f9fb271 (diff) | |
download | gcc-0469ed088867b0b88267c4c50d77bf61bbb73528.tar.gz |
mksysinfo: #include <ttold.h> on Irix.
From Rainer Orth.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179312 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/mksysinfo.sh')
-rwxr-xr-x | libgo/mksysinfo.sh | 5 |
1 files changed, 4 insertions, 1 deletions
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 <<EOF #include <netinet/in.h> /* <netinet/tcp.h> needs u_char/u_short, but <sys/bsd_types> is only included by <netinet/in.h> if _SGIAPI (i.e. _SGI_SOURCE - && !_XOPEN_SOURCE. */ + && !_XOPEN_SOURCE. + <sys/termios.h> only defines TIOCNOTTY if !_XOPEN_SOURCE, while + <sys/ttold.h> does so unconditionally. */ #ifdef __sgi__ #include <sys/bsd_types.h> +#include <sys/ttold.h> #endif #include <netinet/tcp.h> #include <signal.h> |