diff options
author | Jim Meyering <jim@meyering.net> | 1997-02-05 04:06:53 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-02-05 04:06:53 +0000 |
commit | 49e3c8fee2d2a5487b76e7715ec1354414d58c87 (patch) | |
tree | d38fec763bfdc99718dc7ce280f079147a7b16c4 | |
parent | 7a5980964bf7a2308e610cc79345a2de66ca8619 (diff) | |
download | coreutils-49e3c8fee2d2a5487b76e7715ec1354414d58c87.tar.xz |
Bracket inclusion of termios.h with #if HAVE_TERMIOS_H.
Masami Takikawa reported that NeXTStep 3.0 doesn't have termios.h.
-rw-r--r-- | src/stty.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 <stdio.h> #include <sys/types.h> -#include <termios.h> +#if HAVE_TERMIOS_H +# include <termios.h> +#endif #ifdef GWINSZ_IN_SYS_IOCTL # include <sys/ioctl.h> #endif |