changeset 1841:29f0e78db379

Include <string.h> or <strings.h> for strlen prototype.
author Jim Meyering <jim@meyering.net>
date Thu, 13 May 1999 20:48:44 +0000
parents 88d19a2f52de
children 2a63a615fc73
files lib/human.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib/human.c
+++ b/lib/human.c
@@ -30,6 +30,12 @@
 # include <limits.h>
 #endif
 
+#if HAVE_STRING_H
+# include <string.h>
+#else
+# include <strings.h>
+#endif
+
 #ifndef CHAR_BIT
 # define CHAR_BIT 8
 #endif