summary refs log tree commit diff
path: root/malloc/mcheck.c
diff options
context:
space:
mode:
Diffstat (limited to 'malloc/mcheck.c')
-rw-r--r--malloc/mcheck.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/malloc/mcheck.c b/malloc/mcheck.c
index 7f1112ea8b..1a80a56570 100644
--- a/malloc/mcheck.c
+++ b/malloc/mcheck.c
@@ -1,5 +1,5 @@
 /* Standard debugging hooks for `malloc'.
-   Copyright (C) 1990,91,92,93,94,95,96 Free Software Foundation, Inc.
+   Copyright (C) 1990,91,92,93,94,95,96,97 Free Software Foundation, Inc.
    Written May 1989 by Mike Haertel.
 
    This library is free software; you can redistribute it and/or
@@ -49,6 +49,7 @@ struct hdr
   };
 
 #if	defined(_LIBC) || defined(STDC_HEADERS) || defined(USG)
+#include <string.h>
 #define flood memset
 #else
 static void flood __P ((__ptr_t, int, __malloc_size_t));