]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Guard inclusion of <langinfo.h> with
authorJim Meyering <jim@meyering.net>
Thu, 8 Aug 2002 16:36:33 +0000 (16:36 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 8 Aug 2002 16:36:33 +0000 (16:36 +0000)
`#if HAVE_LANGINFO_CODESET', not `#if HAVE_LANGINFO_H'.

src/date.c
src/sort.c

index bce6a29faf824e8c57654abb3b35fdb23453797c..0aaed81842afc77bbe69ecb5d9cddcd3c30a7aec 100644 (file)
@@ -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
 
index 5b75ebe45a925d18e72674a992511b3ad966dcd2..c8230fbedb1d8355a6ad9db024489158d3d9d3c0 100644 (file)
@@ -52,7 +52,7 @@ struct rlimit { size_t rlim_cur; };
 
 #define AUTHORS N_ ("Mike Haertel and Paul Eggert")
 
-#if HAVE_LANGINFO_H
+#if HAVE_LANGINFO_CODESET
 # include <langinfo.h>
 #endif