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/ls.c | 4 +--- src/stty.c | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/ls.c b/src/ls.c index 6e3e836cb..f861df91a 100644 --- a/src/ls.c +++ b/src/ls.c @@ -39,9 +39,7 @@ #include #include -#if HAVE_TERMIOS_H -# include -#endif +#include #if HAVE_STROPTS_H # include #endif 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-70-g09d2