From 2191fe8f8d84e39f8c4b861cde28d395639393e1 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 24 Apr 2010 17:38:13 +0200 Subject: 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. --- src/operand2sig.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/operand2sig.c') diff --git a/src/operand2sig.c b/src/operand2sig.c index 5b26a75fb..d0500cdac 100644 --- a/src/operand2sig.c +++ b/src/operand2sig.c @@ -25,9 +25,7 @@ #include #include -#if HAVE_SYS_WAIT_H -# include -#endif +#include #ifndef WIFSIGNALED # define WIFSIGNALED(s) (((s) & 0xFFFF) - 1 < (unsigned int) 0xFF) #endif -- cgit v1.2.3-54-g00ecf