summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_evcount.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2010-04-20 22:05:41 +0000
committertedu <tedu@openbsd.org>2010-04-20 22:05:41 +0000
commit9b074ffaba6c82e08722cbd87560a0334d22cc9f (patch)
treeafa9a20d9795b601648c61a33fc2fca8e79185c4 /sys/kern/subr_evcount.c
parentfix trailing slashes in filenames behavior by *not* fixing it in systrace. (diff)
downloadwireguard-openbsd-9b074ffaba6c82e08722cbd87560a0334d22cc9f.tar.xz
wireguard-openbsd-9b074ffaba6c82e08722cbd87560a0334d22cc9f.zip
remove proc.h include from uvm_map.h. This has far reaching effects, as
sysctl.h was reliant on this particular include, and many drivers included sysctl.h unnecessarily. remove sysctl.h or add proc.h as needed. ok deraadt
Diffstat (limited to 'sys/kern/subr_evcount.c')
-rw-r--r--sys/kern/subr_evcount.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/subr_evcount.c b/sys/kern/subr_evcount.c
index c63fe993864..1fb6a8f7494 100644
--- a/sys/kern/subr_evcount.c
+++ b/sys/kern/subr_evcount.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_evcount.c,v 1.8 2006/10/17 10:29:50 grange Exp $ */
+/* $OpenBSD: subr_evcount.c,v 1.9 2010/04/20 22:05:43 tedu Exp $ */
/*
* Copyright (c) 2004 Artur Grabowski <art@openbsd.org>
* Copyright (c) 2004 Aaron Campbell <aaron@openbsd.org>
@@ -30,6 +30,7 @@
#include <sys/timeout.h>
#include <sys/kernel.h>
#include <sys/systm.h>
+#include <sys/proc.h>
#include <sys/sysctl.h>
static TAILQ_HEAD(,evcount) evcount_list;