diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-08-30 08:48:24 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-08-30 08:48:24 +0000 |
commit | a06f98dc3b4d04ce352766adffbdf77cec5dfd7c (patch) | |
tree | b3892477ab796d79b2b97ce45f30340743a8048d /sys | |
parent | 172a934ee0cabf0988299802782896aa4af036dc (diff) |
Fix profiling (GPROF) build.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/subr_prof.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/subr_prof.c b/sys/kern/subr_prof.c index ccef7c2aa22..eeeaa3e9cfc 100644 --- a/sys/kern/subr_prof.c +++ b/sys/kern/subr_prof.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_prof.c,v 1.26 2014/07/08 17:19:25 deraadt Exp $ */ +/* $OpenBSD: subr_prof.c,v 1.27 2014/08/30 08:48:23 mpi Exp $ */ /* $NetBSD: subr_prof.c,v 1.12 1996/04/22 01:38:50 christos Exp $ */ /*- @@ -46,6 +46,8 @@ #include <sys/malloc.h> #include <sys/gmon.h> +#include <uvm/uvm_extern.h> + /* * Flag to prevent CPUs from executing the mcount() monitor function * until we're sure they are in a sane state. |