diff options
author | Jim Meyering <jim@meyering.net> | 1997-10-13 14:08:38 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-10-13 14:08:38 +0000 |
commit | a41c38cb7dc561a8c902fadbf4467045ee661c84 (patch) | |
tree | 225fc4da5cbcdb7ffae2a71ea62157133d4ce18b /src/ls.c | |
parent | c4aa5c4df76a1fa00ce029f1e5c73a3ad886fde7 (diff) | |
download | coreutils-a41c38cb7dc561a8c902fadbf4467045ee661c84.tar.xz |
Bracket inclusion of termios.h with #ifdef HAVE_TERMIOS_H.
Masami Takikawa reported that this is necessary on NeXTStep 3.0 systems.
Diffstat (limited to 'src/ls.c')
-rw-r--r-- | src/ls.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -43,7 +43,10 @@ #include <config.h> #include <sys/types.h> -#include <termios.h> +#ifdef HAVE_TERMIOS_H +# include <termios.h> +#endif + #ifdef GWINSZ_IN_SYS_IOCTL # include <sys/ioctl.h> #endif |