summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrahnds <rahnds@openbsd.org>2000-06-15 03:11:01 +0000
committerrahnds <rahnds@openbsd.org>2000-06-15 03:11:01 +0000
commita152e40f4f3105b35e9ccf6bc204d366659a5461 (patch)
treeb76b3ade2f9ccd8494b02fda3b7ef44493ddda60
parentbe more carefull about pg0, i think switch on sv next time (diff)
downloadwireguard-openbsd-a152e40f4f3105b35e9ccf6bc204d366659a5461.tar.xz
wireguard-openbsd-a152e40f4f3105b35e9ccf6bc204d366659a5461.zip
UVM compatibility changes, UVM still not working, but can build.
-rw-r--r--sys/arch/powerpc/mac/macintr.c7
-rw-r--r--sys/arch/powerpc/mac/openpic.c7
2 files changed, 12 insertions, 2 deletions
diff --git a/sys/arch/powerpc/mac/macintr.c b/sys/arch/powerpc/mac/macintr.c
index 4e7ca1ed9d7..099017076c3 100644
--- a/sys/arch/powerpc/mac/macintr.c
+++ b/sys/arch/powerpc/mac/macintr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: macintr.c,v 1.3 2000/03/31 05:14:37 rahnds Exp $ */
+/* $OpenBSD: macintr.c,v 1.4 2000/06/15 03:11:01 rahnds Exp $ */
/*-
* Copyright (c) 1995 Per Fogelstrom
@@ -46,6 +46,11 @@
#include <sys/mbuf.h>
#include <sys/socket.h>
#include <sys/systm.h>
+#ifdef UVM
+#include <vm/vm.h>
+#include <vm/vm_kern.h>
+#include <uvm/uvm.h>
+#endif
#include <machine/autoconf.h>
#include <machine/intr.h>
diff --git a/sys/arch/powerpc/mac/openpic.c b/sys/arch/powerpc/mac/openpic.c
index 594731a3893..099648c8af7 100644
--- a/sys/arch/powerpc/mac/openpic.c
+++ b/sys/arch/powerpc/mac/openpic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: openpic.c,v 1.2 2000/03/31 04:20:20 rahnds Exp $ */
+/* $OpenBSD: openpic.c,v 1.3 2000/06/15 03:11:01 rahnds Exp $ */
/*-
* Copyright (c) 1995 Per Fogelstrom
@@ -46,6 +46,11 @@
#include <sys/mbuf.h>
#include <sys/socket.h>
#include <sys/systm.h>
+#ifdef UVM
+#include <vm/vm.h>
+#include <vm/vm_kern.h>
+#include <uvm/uvm.h>
+#endif
#include <machine/autoconf.h>
#include <machine/intr.h>