summaryrefslogtreecommitdiff
path: root/gmon/mcount.c
diff options
context:
space:
mode:
Diffstat (limited to 'gmon/mcount.c')
-rw-r--r--gmon/mcount.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gmon/mcount.c b/gmon/mcount.c
index f6eb229e2e..8e54812d75 100644
--- a/gmon/mcount.c
+++ b/gmon/mcount.c
@@ -31,6 +31,7 @@
static char sccsid[] = "@(#)mcount.c 8.1 (Berkeley) 6/4/93";
#endif
+#include <unistd.h>
#include <sys/param.h>
#include <sys/gmon.h>
@@ -57,10 +58,10 @@ static char sccsid[] = "@(#)mcount.c 8.1 (Berkeley) 6/4/93";
*/
_MCOUNT_DECL(frompc, selfpc) /* _mcount; may be static, inline, etc */
{
- register u_short *frompcindex;
+ register ARCINDEX *frompcindex;
register struct tostruct *top, *prevtop;
register struct gmonparam *p;
- register long toindex;
+ register ARCINDEX toindex;
int i;
p = &_gmonparam;