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.
This commit is contained in:
parent
49ba77ffa0
commit
0bbbf42ba9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user