summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-04-09 15:23:09 +0000
committerbde <bde@FreeBSD.org>1997-04-09 15:23:09 +0000
commit0bbbf42ba94bb05ae8e4b4aac9cb7c77d14e691a (patch)
treea2d7df8b6f7f942149483c30293f3abdb720d3c9 /sys/kern
parent49ba77ffa0d9896f93bd9df0fc0426c2710fbd99 (diff)
downloadFreeBSD-src-0bbbf42ba94bb05ae8e4b4aac9cb7c77d14e691a.zip
FreeBSD-src-0bbbf42ba94bb05ae8e4b4aac9cb7c77d14e691a.tar.gz
Include <sys/buf.h> instead of <sys/vnode.h>. kern_sysctl.c no
longer has anything to do with vnodes and never had anything to do with buffers, but it needs the definitions of B_READ and B_WRITE for use with the bogus useracc() interface and was getting them bogusly due to excessive cleanups in rev.1.49.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_sysctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c
index fb07f18..fe90f25 100644
--- a/sys/kern/kern_sysctl.c
+++ b/sys/kern/kern_sysctl.c
@@ -37,10 +37,11 @@
* SUCH DAMAGE.
*
* @(#)kern_sysctl.c 8.4 (Berkeley) 4/14/94
- * $Id$
+ * $Id: kern_sysctl.c,v 1.69 1997/02/22 09:39:12 peter Exp $
*/
#include <sys/param.h>
+#include <sys/buf.h>
#include <sys/kernel.h>
#include <sys/sysctl.h>
#include <sys/malloc.h>
@@ -49,7 +50,6 @@
#include <sys/sysproto.h>
#include <vm/vm.h>
#include <vm/vm_extern.h>
-#include <sys/vnode.h>
/*
* Locking and stats
OpenPOWER on IntegriCloud