* profile/gmon.c [__MINGW32__]: Include string.h for

memset prototype.
This commit is contained in:
Danny Smith 2004-08-15 10:45:43 +00:00
parent 18cff5fa2b
commit 40929746ba
2 changed files with 7 additions and 1 deletions

View File

@ -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.

View File

@ -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