summaryrefslogtreecommitdiff
path: root/src/ls.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-09-18 20:24:41 +0200
committerJim Meyering <meyering@redhat.com>2010-09-18 21:32:18 +0200
commitc12d83920f8d00cf3401d74559bb193d5760e9f8 (patch)
treed24411bf7624051b9397d26e8532f15d7fc12d34 /src/ls.c
parentedc69f915842fdbce0069b6fba03643ad448daf8 (diff)
downloadcoreutils-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/ls.c')
-rw-r--r--src/ls.c4
1 files changed, 1 insertions, 3 deletions
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 <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