forward declare struct vm_page, and include uvm_prot.h and uvm_pmap.h.

fixes build, presumeably after uvm.h external rototill.
This commit is contained in:
mrg 2020-09-06 10:48:21 +00:00
parent 3e250522af
commit 07acc2d169
2 changed files with 10 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.h,v 1.93 2020/03/14 14:05:43 ad Exp $ */
/* $NetBSD: pmap.h,v 1.94 2020/09/06 10:48:21 mrg Exp $ */
/*
* Copyright (c) 1996
@ -50,6 +50,11 @@
#include "opt_sparc_arch.h"
#endif
struct vm_page;
#include <uvm/uvm_prot.h>
#include <uvm/uvm_pmap.h>
#include <sparc/pte.h>
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.h,v 1.63 2019/12/15 21:11:34 ad Exp $ */
/* $NetBSD: pmap.h,v 1.64 2020/09/06 10:48:21 mrg Exp $ */
/*-
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@ -37,6 +37,9 @@
#ifndef _LOCORE
#include <machine/pte.h>
#include <sys/queue.h>
struct vm_page;
#include <uvm/uvm_prot.h>
#include <uvm/uvm_pmap.h>
#include <uvm/uvm_object.h>
#ifdef _KERNEL
#include <machine/cpuset.h>