projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99ec0b1
)
Guard inclusion of <langinfo.h> with
author
Jim Meyering
<jim@meyering.net>
Thu, 8 Aug 2002 16:36:33 +0000
(16:36 +0000)
committer
Jim 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
patch
|
blob
|
history
src/sort.c
patch
|
blob
|
history
diff --git
a/src/date.c
b/src/date.c
index
bce6a29
..
0aaed81
100644
(file)
--- 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
diff --git
a/src/sort.c
b/src/sort.c
index
5b75ebe
..
c8230fb
100644
(file)
--- a/
src/sort.c
+++ b/
src/sort.c
@@
-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