From: Jim Meyering Date: Wed, 5 Feb 1997 04:06:53 +0000 (+0000) Subject: Bracket inclusion of termios.h with #if HAVE_TERMIOS_H. X-Git-Tag: SH-UTILS-1_16a~262 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=49e3c8fee2d2a5487b76e7715ec1354414d58c87;p=thirdparty%2Fcoreutils.git Bracket inclusion of termios.h with #if HAVE_TERMIOS_H. Masami Takikawa reported that NeXTStep 3.0 doesn't have termios.h. --- diff --git a/src/stty.c b/src/stty.c index 302e7466f3..0a3a335936 100644 --- a/src/stty.c +++ b/src/stty.c @@ -35,7 +35,9 @@ #include #include -#include +#if HAVE_TERMIOS_H +# include +#endif #ifdef GWINSZ_IN_SYS_IOCTL # include #endif