summaryrefslogtreecommitdiff
path: root/src/timeout.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/timeout.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/timeout.c')
-rw-r--r--src/timeout.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/timeout.c b/src/timeout.c
index d1ea06d83..c6f65258b 100644
--- a/src/timeout.c
+++ b/src/timeout.c
@@ -49,10 +49,8 @@
#include <stdio.h>
#include <sys/types.h>
#include <signal.h>
+#include <sys/wait.h>
-#if HAVE_SYS_WAIT_H
-# include <sys/wait.h>
-#endif
#ifndef WIFSIGNALED
# define WIFSIGNALED(s) (((s) & 0xFFFF) - 1 < (unsigned int) 0xFF)
#endif