aboutsummaryrefslogtreecommitdiffstats
path: root/src/cat.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/cat.c
parentbuild: enable gnulib modules for more replacement headers (diff)
downloadcoreutils-2191fe8f8d84e39f8c4b861cde28d395639393e1.tar.gz
coreutils-2191fe8f8d84e39f8c4b861cde28d395639393e1.zip
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/cat.c')
-rw-r--r--src/cat.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cat.c b/src/cat.c
index c33e0b379..8740e0e4f 100644
--- a/src/cat.c
+++ b/src/cat.c
@@ -30,9 +30,7 @@
#if HAVE_STROPTS_H
# include <stropts.h>
#endif
-#if HAVE_SYS_IOCTL_H
-# include <sys/ioctl.h>
-#endif
+#include <sys/ioctl.h>
#include "system.h"
#include "error.h"