(<string.h>): Include only #if HAVE_STRING_H.
authorJim Meyering <jim@meyering.net>
Fri, 17 Mar 2000 19:34:16 +0000 (19:34 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 17 Mar 2000 19:34:16 +0000 (19:34 +0000)
Otherwise, include <strings.h>

lib/unicodeio.c

index 148d64e..9948a4e 100644 (file)
 #endif
 
 #include <stdio.h>
-#include <string.h>
+#if HAVE_STRING_H
+# include <string.h>
+#else
+# include <strings.h>
+#endif
 
 #include <errno.h>
 #ifndef errno