summaryrefslogtreecommitdiff
path: root/sys/kern/sys_generic.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2014-07-08 17:42:51 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2014-07-08 17:42:51 +0000
commita5bb0dc353bd2c7da5f699db5a76d0aa71f044be (patch)
tree5ec6f5cad4144762b69631119fd6103c4a73469d /sys/kern/sys_generic.c
parentca6b780f3bfa5c9a89ba92e6cd2521c9329cdc0f (diff)
Repair compilability after the recent uvmexp changes, especially for
not compile-time-known page size platforms.
Diffstat (limited to 'sys/kern/sys_generic.c')
-rw-r--r--sys/kern/sys_generic.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/sys_generic.c b/sys/kern/sys_generic.c
index 636dbd77f3d..837d95f8182 100644
--- a/sys/kern/sys_generic.c
+++ b/sys/kern/sys_generic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sys_generic.c,v 1.87 2014/07/08 17:19:25 deraadt Exp $ */
+/* $OpenBSD: sys_generic.c,v 1.88 2014/07/08 17:42:50 miod Exp $ */
/* $NetBSD: sys_generic.c,v 1.24 1996/03/29 00:25:32 cgd Exp $ */
/*
@@ -60,6 +60,8 @@
#include <sys/mount.h>
#include <sys/syscallargs.h>
+#include <uvm/uvm_extern.h>
+
int selscan(struct proc *, fd_set *, fd_set *, int, int, register_t *);
void pollscan(struct proc *, struct pollfd *, u_int, register_t *);
int pollout(struct pollfd *, struct pollfd *, u_int);