diff options
Diffstat (limited to 'lib/libc/gmon/gmon.c')
-rw-r--r-- | lib/libc/gmon/gmon.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/gmon/gmon.c b/lib/libc/gmon/gmon.c index 572b7eb..81e36dd 100644 --- a/lib/libc/gmon/gmon.c +++ b/lib/libc/gmon/gmon.c @@ -44,7 +44,11 @@ static char sccsid[] = "@(#)gmon.c 8.1 (Berkeley) 6/4/93"; #include <fcntl.h> #include <unistd.h> +#if defined(__ELF__) +extern char *minbrk asm (".minbrk"); +#else extern char *minbrk asm ("minbrk"); +#endif struct gmonparam _gmonparam = { GMON_PROF_OFF }; |