diff options
author | Christopher Faylor <me@cgf.cx> | 2010-08-30 05:57:37 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2010-08-30 05:57:37 +0400 |
commit | 92117cb21f54115367528220dbb85bed8d7b72b4 (patch) | |
tree | 33bc5aea3bb9bd4f638268ad272406a3401bf43e /winsup/cygwin/gmon.c | |
parent | 552bc28f4650ccd83757ebee28e24ca8237829e5 (diff) |
* winlean.h: New file.
* automode.c: Use "winlean.h".
* binmode.c: Ditto.
* gmon.c: Ditto.
* textmode.c: Ditto.
* textreadmode.c: Ditto.
* winsup.h: Ditto.
* lib/cygwin_attach_dll.c: Ditto.
* lib/dll_main.cc: Ditto.
* profile.c: Ditto.
* crt0.c: Ditto. Cleanup ancient cruft. Add dummy calls to cygwin_premain*.
* include/sys/cygwin.h: Remove old stuff. Move premain declarations nearer to
other cygwin-specific function declarations.
* globals.cc: Add comment.
Diffstat (limited to 'winsup/cygwin/gmon.c')
-rw-r--r-- | winsup/cygwin/gmon.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/gmon.c b/winsup/cygwin/gmon.c index 981b41042..13342eb7d 100644 --- a/winsup/cygwin/gmon.c +++ b/winsup/cygwin/gmon.c @@ -35,13 +35,14 @@ static char rcsid[] = "$OpenBSD: gmon.c,v 1.8 1997/07/23 21:11:27 kstailey Exp $"; #endif +#include "winlean.h" #include <fcntl.h> #include <stdio.h> #include <unistd.h> #include <gmon.h> +#include <stdlib.h> #include <profil.h> -#include <windows.h> /* XXX needed? */ //extern char *minbrk __asm ("minbrk"); |