summaryrefslogtreecommitdiff
path: root/src/ls.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-04-24 17:38:13 +0200
committerJim Meyering <meyering@redhat.com>2010-04-24 17:44:58 +0200
commit2191fe8f8d84e39f8c4b861cde28d395639393e1 (patch)
treecd6295499076cbfe87e359f1341edd6ebbb210a2 /src/ls.c
parenta4ab8d9c55f4e3c9aac7859e85545e769b43f256 (diff)
downloadcoreutils-2191fe8f8d84e39f8c4b861cde28d395639393e1.tar.xz
maint: remove now-unnecessary #if HAVE_header_H tests.
* .x-sc_prohibit_always_true_header_tests: New file. * Makefile.am (syntax_check_exceptions): Add it. * src/cat.c: Remove #if HAVE_SYS_IOCTL_H test. * src/copy.c: Likewise. * src/ls.c: Likewise. * src/stty.c: Likewise. * src/install.c: Remove #if HAVE_SYS_WAIT_H test. * src/kill.c: Likewise. * src/operand2sig.c: Likewise. * src/timeout.c: Likewise. * src/pathchk.c: Remove #if HAVE_WCHAR_H test. * src/stat.c: Remove #if HAVE_NETINET_IN_H test.
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 6bd680e15..ca09ead8d 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -45,9 +45,7 @@
#if HAVE_STROPTS_H
# include <stropts.h>
#endif
-#if HAVE_SYS_IOCTL_H
-# include <sys/ioctl.h>
-#endif
+#include <sys/ioctl.h>
#ifdef WINSIZE_IN_PTEM
# include <sys/stream.h>