summaryrefslogtreecommitdiff
path: root/sys/kern/subr_evcount.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2010-04-20 22:05:45 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2010-04-20 22:05:45 +0000
commitdb10abfb640a50974a18e7061ec7790337b03345 (patch)
treefa36581e05f4028667b2e8de73179d482314e768 /sys/kern/subr_evcount.c
parent0ae0e081f1d14c8b45bec997d2a96673cc9f8f7b (diff)
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;