projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
269accf
)
(<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 148d64ea60a34bc36f53fc9aec3403ef64cbcfef..9948a4eb5761528e25d00c914a90ba5cd352f658 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