diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1998-07-10 02:27:16 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1998-07-10 02:27:16 +0000 |
| commit | 2e480d34aaabcd405e72ff80866451e8c3b08c08 (patch) | |
| tree | 42debb467f1f9ffcad43a252efb81d84fb61db3d /lib/libc/gmon | |
| parent | f763857cffe9dbe1a3486de1191ed10acf2f1138 (diff) | |
Notes
Diffstat (limited to 'lib/libc/gmon')
| -rw-r--r-- | lib/libc/gmon/mcount.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/lib/libc/gmon/mcount.c b/lib/libc/gmon/mcount.c index 18633c3dd6f6..aa8f552f4b5a 100644 --- a/lib/libc/gmon/mcount.c +++ b/lib/libc/gmon/mcount.c @@ -36,11 +36,20 @@ static char sccsid[] = "@(#)mcount.c 8.1 (Berkeley) 6/4/93"; #endif static const char rcsid[] = - "$Id: mcount.c,v 1.9 1997/02/22 14:58:27 peter Exp $"; + "$Id: mcount.c,v 1.10 1998/03/09 04:42:19 jb Exp $"; #endif #ifndef __NETBSD_SYSCALLS + +#ifdef KERNEL +#include <sys/param.h> +#else +/* Kludge to get fptrint_t declared. */ +#define KERNEL #include <sys/param.h> +#undef KERNEL +#endif + #include <sys/gmon.h> #ifdef KERNEL #include <sys/systm.h> @@ -325,4 +334,4 @@ mexitcount(selfpc) } #endif /* GUPROF */ -#endif +#endif /* !__NETBSD_SYSCALLS */ |
