From: Jim Meyering Date: Mon, 13 Oct 1997 14:08:38 +0000 (+0000) Subject: Bracket inclusion of termios.h with #ifdef HAVE_TERMIOS_H. X-Git-Tag: TEXTUTILS-1_22c~271 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a41c38cb7dc561a8c902fadbf4467045ee661c84;p=thirdparty%2Fcoreutils.git Bracket inclusion of termios.h with #ifdef HAVE_TERMIOS_H. Masami Takikawa reported that this is necessary on NeXTStep 3.0 systems. --- diff --git a/src/ls.c b/src/ls.c index c1d1ee6d0d..25ff2ddcf6 100644 --- a/src/ls.c +++ b/src/ls.c @@ -43,7 +43,10 @@ #include #include -#include +#ifdef HAVE_TERMIOS_H +# include +#endif + #ifdef GWINSZ_IN_SYS_IOCTL # include #endif