diff --git a/src/ChangeLog b/src/ChangeLog
index 90507a22..862b7766 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2001-04-06  Hrvoje Niksic  <hniksic@arsdigita.com>
+
+	* hash.c: Include <string.h>.
+
 2001-04-06  Hrvoje Niksic  <hniksic@arsdigita.com>
 
 	* config.h.in: Define "compilation environment" options that work
diff --git a/src/hash.c b/src/hash.c
index 45974dad..38bc284a 100644
--- a/src/hash.c
+++ b/src/hash.c
@@ -21,6 +21,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 # include <config.h>
 #endif
 
+#ifdef HAVE_STRING_H
+# include <string.h>
+#else
+# include <strings.h>
+#endif /* HAVE_STRING_H */
 #include <stdlib.h>
 #include <assert.h>