Include <vm/vm.h> or <vm/vm_page.h> explicitly to avoid breaking when

vnode_if.h doesn't include vm stuff.
This commit is contained in:
Bruce Evans 1995-12-05 21:51:45 +00:00
parent f1844d4cdf
commit 4cb03b1b55
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=12645
4 changed files with 10 additions and 4 deletions

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)spec_vnops.c 8.6 (Berkeley) 4/9/94
* $Id: spec_vnops.c,v 1.18 1995/11/18 12:49:14 bde Exp $
* $Id: spec_vnops.c,v 1.19 1995/11/29 12:38:49 julian Exp $
*/
#include <sys/param.h>
@ -50,6 +50,7 @@
#include <sys/disklabel.h>
#include <vm/vm.h>
#include <vm/vm_page.h>
#include <vm/vm_pager.h>
#include <vm/vnode_pager.h>

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_descrip.c 8.6 (Berkeley) 4/19/94
* $Id: kern_descrip.c,v 1.17 1995/12/02 18:58:46 bde Exp $
* $Id: kern_descrip.c,v 1.18 1995/12/04 16:48:24 phk Exp $
*/
#include <sys/param.h>
@ -58,6 +58,8 @@
#include <sys/unistd.h>
#include <sys/resourcevar.h>
#include <vm/vm.h>
#ifdef JREMOD
#include <sys/conf.h>
#ifdef DEVFS

View File

@ -37,7 +37,7 @@
* SUCH DAMAGE.
*
* @(#)kern_sysctl.c 8.4 (Berkeley) 4/14/94
* $Id: kern_sysctl.c,v 1.52 1995/11/20 12:42:03 phk Exp $
* $Id: kern_sysctl.c,v 1.53 1995/12/04 16:48:30 phk Exp $
*/
#include <sys/param.h>
@ -50,6 +50,8 @@
#include <sys/sysctl.h>
#include <sys/malloc.h>
#include <vm/vm.h>
/*
* Locking and stats
*/

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)spec_vnops.c 8.6 (Berkeley) 4/9/94
* $Id: spec_vnops.c,v 1.18 1995/11/18 12:49:14 bde Exp $
* $Id: spec_vnops.c,v 1.19 1995/11/29 12:38:49 julian Exp $
*/
#include <sys/param.h>
@ -50,6 +50,7 @@
#include <sys/disklabel.h>
#include <vm/vm.h>
#include <vm/vm_page.h>
#include <vm/vm_pager.h>
#include <vm/vnode_pager.h>