diff options
author | Jim Meyering <meyering@redhat.com> | 2010-09-18 20:24:41 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-09-18 21:32:18 +0200 |
commit | c12d83920f8d00cf3401d74559bb193d5760e9f8 (patch) | |
tree | d24411bf7624051b9397d26e8532f15d7fc12d34 /src | |
parent | edc69f915842fdbce0069b6fba03643ad448daf8 (diff) | |
download | coreutils-c12d83920f8d00cf3401d74559bb193d5760e9f8.tar.xz |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/ls.c | 4 | ||||
-rw-r--r-- | src/stty.c | 4 |
2 files changed, 2 insertions, 6 deletions
@@ -39,9 +39,7 @@ #include <config.h> #include <sys/types.h> -#if HAVE_TERMIOS_H -# include <termios.h> -#endif +#include <termios.h> #if HAVE_STROPTS_H # include <stropts.h> #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 <stdio.h> #include <sys/types.h> -#if HAVE_TERMIOS_H -# include <termios.h> -#endif +#include <termios.h> #if HAVE_STROPTS_H # include <stropts.h> #endif |