From 49e3c8fee2d2a5487b76e7715ec1354414d58c87 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 5 Feb 1997 04:06:53 +0000 Subject: Bracket inclusion of termios.h with #if HAVE_TERMIOS_H. Masami Takikawa reported that NeXTStep 3.0 doesn't have termios.h. --- src/stty.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/stty.c') diff --git a/src/stty.c b/src/stty.c index 302e7466f..0a3a33593 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 -- cgit v1.2.3-54-g00ecf