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:
03bc0dd
)
(<string.h>): Include only #if HAVE_STRING_H.
author
Jim Meyering
<jim@meyering.net>
Fri, 17 Mar 2000 19:34:16 +0000
(19:34 +0000)
committer
Jim Meyering
<jim@meyering.net>
Fri, 17 Mar 2000 19:34:16 +0000
(19:34 +0000)
Otherwise, include <strings.h>
lib/unicodeio.c
patch
|
blob
|
history
diff --git
a/lib/unicodeio.c
b/lib/unicodeio.c
index
148d64e
..
9948a4e
100644
(file)
--- a/
lib/unicodeio.c
+++ b/
lib/unicodeio.c
@@
-28,7
+28,11
@@
#endif
#include <stdio.h>
-#include <string.h>
+#if HAVE_STRING_H
+# include <string.h>
+#else
+# include <strings.h>
+#endif
#include <errno.h>
#ifndef errno