From c12d83920f8d00cf3401d74559bb193d5760e9f8 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 18 Sep 2010 20:24:41 +0200 Subject: build: use gnulib's new termios module With it, we can remove the two sole tests of HAVE_TERMIOS_H. * bootstrap.conf (gnulib_modules): Add termios. * src/ls.c: Don't test HAVE_TERMIOS_H. * src/stty.c: Likewise. * m4/jm-macros.m4 (gl_CHECK_ALL_TYPES): Remove configure-time test for termios.h. --- src/stty.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/stty.c') diff --git a/src/stty.c b/src/stty.c index 71045c281..5d9d4f0c0 100644 --- a/src/stty.c +++ b/src/stty.c @@ -36,9 +36,7 @@ #include #include -#if HAVE_TERMIOS_H -# include -#endif +#include #if HAVE_STROPTS_H # include #endif -- cgit v1.2.3-54-g00ecf