summaryrefslogtreecommitdiff
path: root/src/stty.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/stty.c
parenta4ab8d9c55f4e3c9aac7859e85545e769b43f256 (diff)
downloadcoreutils-2191fe8f8d84e39f8c4b861cde28d395639393e1.tar.gz
coreutils-2191fe8f8d84e39f8c4b861cde28d395639393e1.tar.bz2
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/stty.c')
-rw-r--r--src/stty.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/stty.c b/src/stty.c
index 8c6920fe1..71045c281 100644
--- a/src/stty.c
+++ b/src/stty.c
@@ -42,9 +42,7 @@
#if HAVE_STROPTS_H
# include <stropts.h>
#endif
-#ifdef HAVE_SYS_IOCTL_H
-# include <sys/ioctl.h>
-#endif
+#include <sys/ioctl.h>
#ifdef WINSIZE_IN_PTEM
# include <sys/stream.h>