summaryrefslogtreecommitdiff
path: root/sys/kern/kern_ktrace.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2014-12-29 05:29:29 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2014-12-29 05:29:29 +0000
commit7119be7e42f62212f3d28f26636426f3e1a73a7f (patch)
tree27c26dbbd593cd8651c0390ca40a3854ae2b138b /sys/kern/kern_ktrace.c
parent39cfcdecf526a0b704de54a406729160c420285c (diff)
Explicitely include <uvm/uvm_extern.h> in order to build on variable page size
architectures.
Diffstat (limited to 'sys/kern/kern_ktrace.c')
-rw-r--r--sys/kern/kern_ktrace.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/kern_ktrace.c b/sys/kern/kern_ktrace.c
index d1ee31273e7..e65418edd8e 100644
--- a/sys/kern/kern_ktrace.c
+++ b/sys/kern/kern_ktrace.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_ktrace.c,v 1.72 2014/12/16 18:30:04 tedu Exp $ */
+/* $OpenBSD: kern_ktrace.c,v 1.73 2014/12/29 05:29:27 miod Exp $ */
/* $NetBSD: kern_ktrace.c,v 1.23 1996/02/09 18:59:36 christos Exp $ */
/*
@@ -49,6 +49,8 @@
#include <sys/syscall.h>
#include <sys/syscallargs.h>
+#include <uvm/uvm_extern.h>
+
void ktrinitheaderraw(struct ktr_header *, uint, pid_t, pid_t);
void ktrinitheader(struct ktr_header *, struct proc *, int);
void ktrstart(struct proc *, struct vnode *, struct ucred *);