diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index b6e0a1090..cc7245fe2 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2013-06-18 Corinna Vinschen + + * gmon.c: Drop gratuitous inclusion of strings.h. Remove __MINGW32__ + around definition of bzero. + 2013-06-18 Corinna Vinschen * Makefile.in (VPATH): Drop CONFIG_DIR. diff --git a/winsup/cygwin/gmon.c b/winsup/cygwin/gmon.c index 139aa4482..96b1189ee 100644 --- a/winsup/cygwin/gmon.c +++ b/winsup/cygwin/gmon.c @@ -39,7 +39,6 @@ static char rcsid[] = "$OpenBSD: gmon.c,v 1.8 1997/07/23 21:11:27 kstailey Exp $ #include #include #include -#include #ifndef __MINGW32__ #include #include @@ -57,10 +56,8 @@ static char rcsid[] = "$OpenBSD: gmon.c,v 1.8 1997/07/23 21:11:27 kstailey Exp $ #define MINUS_ONE_P (-1) #endif -#ifdef __MINGW32__ #include #define bzero(ptr,size) memset (ptr, 0, size); -#endif struct gmonparam _gmonparam = { GMON_PROF_OFF, NULL, 0, NULL, 0, NULL, 0, 0L, 0, 0, 0, 0};