aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2004-08-15 10:45:43 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2004-08-15 10:45:43 +0000
commit40929746ba2ca3515d3a1de0c911078a816f92d5 (patch)
tree708cb457e9567dca521d8bf444c74e0b9bf90a00 /winsup
parent18cff5fa2b2104436512efcca0bdb69213ffa1d3 (diff)
downloadnewlib-40929746ba2ca3515d3a1de0c911078a816f92d5.zip
newlib-40929746ba2ca3515d3a1de0c911078a816f92d5.tar.gz
newlib-40929746ba2ca3515d3a1de0c911078a816f92d5.tar.bz2
* profile/gmon.c [__MINGW32__]: Include string.h for
memset prototype.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/mingw/ChangeLog7
-rw-r--r--winsup/mingw/profile/gmon.c1
2 files changed, 7 insertions, 1 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog
index 1a8168e..638bdc8 100644
--- a/winsup/mingw/ChangeLog
+++ b/winsup/mingw/ChangeLog
@@ -1,3 +1,8 @@
+2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * profile/gmon.c [__MINGW32__]: Include string.h for
+ memset prototype.
+
2004-08-08 Christopher Faylor <cgf@timesys.com>
* mingwex/stdio/vwscanf.c: Add stdio.h needed after 2004-08-07 change.
@@ -52,7 +57,7 @@
* include/_mingw.h: Use only two underscores to uglify
__MINGW_ATTRIB_* macros.
* include/stdlib.h: Adjust __MINGW_ATTRIB_* tokens.
- * includ/setjmp.h: Likewise.
+ * include/setjmp.h: Likewise.
* include/sting.h: Add __MINGW_ATTRIB_PURE to locale-independent
string functions.
diff --git a/winsup/mingw/profile/gmon.c b/winsup/mingw/profile/gmon.c
index b68f318..a20c337 100644
--- a/winsup/mingw/profile/gmon.c
+++ b/winsup/mingw/profile/gmon.c
@@ -56,6 +56,7 @@ static char rcsid[] = "$OpenBSD: gmon.c,v 1.8 1997/07/23 21:11:27 kstailey Exp $
//extern char *minbrk __asm ("minbrk");
#ifdef __MINGW32__
+#include <string.h>
#define bzero(ptr,size) memset (ptr, 0, size);
#endif