summaryrefslogtreecommitdiff
path: root/src/pathchk.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/pathchk.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/pathchk.c')
-rw-r--r--src/pathchk.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pathchk.c b/src/pathchk.c
index d9f6c0a64..62c20941c 100644
--- a/src/pathchk.c
+++ b/src/pathchk.c
@@ -18,9 +18,7 @@
#include <stdio.h>
#include <getopt.h>
#include <sys/types.h>
-#if HAVE_WCHAR_H
-# include <wchar.h>
-#endif
+#include <wchar.h>
#include "system.h"
#include "error.h"