From 3ecad253f23537ae5d0e35934562d04a3606a0ee Mon Sep 17 00:00:00 2001 From: hniksic <devnull@localhost> Date: Thu, 5 Apr 2001 20:43:35 -0700 Subject: [PATCH] [svn] Include string.h. --- src/ChangeLog | 4 ++++ src/hash.c | 5 +++++ 2 files changed, 9 insertions(+) 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>