From 07acc2d1697896679fc953ab69d727b894604483 Mon Sep 17 00:00:00 2001 From: mrg Date: Sun, 6 Sep 2020 10:48:21 +0000 Subject: [PATCH] forward declare struct vm_page, and include uvm_prot.h and uvm_pmap.h. fixes build, presumeably after uvm.h external rototill. --- sys/arch/sparc/include/pmap.h | 7 ++++++- sys/arch/sparc64/include/pmap.h | 5 ++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/sys/arch/sparc/include/pmap.h b/sys/arch/sparc/include/pmap.h index 80992501867f..c35231b52bae 100644 --- a/sys/arch/sparc/include/pmap.h +++ b/sys/arch/sparc/include/pmap.h @@ -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 +#include + #include /* diff --git a/sys/arch/sparc64/include/pmap.h b/sys/arch/sparc64/include/pmap.h index e98584b1071b..4f563e842a38 100644 --- a/sys/arch/sparc64/include/pmap.h +++ b/sys/arch/sparc64/include/pmap.h @@ -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 #include +struct vm_page; +#include +#include #include #ifdef _KERNEL #include