summaryrefslogtreecommitdiff
path: root/src/date.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-08-08 16:36:33 +0000
committerJim Meyering <jim@meyering.net>2002-08-08 16:36:33 +0000
commit4cb69e11ad2309b0cc1b451f26a3c4902dcf53f9 (patch)
treef26a68816efbddb97c7b7648b24fcf0b1984d412 /src/date.c
parent99ec0b1a38f860df75e7f7dadecc3de501feb611 (diff)
downloadcoreutils-4cb69e11ad2309b0cc1b451f26a3c4902dcf53f9.tar.xz
Guard inclusion of <langinfo.h> with
`#if HAVE_LANGINFO_CODESET', not `#if HAVE_LANGINFO_H'.
Diffstat (limited to 'src/date.c')
-rw-r--r--src/date.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/date.c b/src/date.c
index bce6a29fa..0aaed8184 100644
--- a/src/date.c
+++ b/src/date.c
@@ -21,7 +21,7 @@
#include <stdio.h>
#include <getopt.h>
#include <sys/types.h>
-#if HAVE_LANGINFO_H
+#if HAVE_LANGINFO_CODESET
# include <langinfo.h>
#endif