changeset 2352:84a00de8c81b

(<string.h>): Include only #if HAVE_STRING_H. Otherwise, include <strings.h>
author Jim Meyering <jim@meyering.net>
date Fri, 17 Mar 2000 19:34:16 +0000
parents f0f61b4d7d83
children 639e531b0801
files lib/unicodeio.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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