summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2020-10-09 20:30:18 +0000
committerkettenis <kettenis@openbsd.org>2020-10-09 20:30:18 +0000
commit16c91a581570c0c30f5e6f21ed725feaa95c6044 (patch)
treee4654e64611dc5527dfc67feccf1afa9aebb163d
parentEscape ! in Ql (diff)
downloadwireguard-openbsd-16c91a581570c0c30f5e6f21ed725feaa95c6044.tar.xz
wireguard-openbsd-16c91a581570c0c30f5e6f21ed725feaa95c6044.zip
Unbreak the powerpc64 kernel build.
-rw-r--r--sys/arch/powerpc64/powerpc64/pmap.c3
-rw-r--r--sys/arch/powerpc64/powerpc64/syscall.c3
-rw-r--r--sys/arch/powerpc64/powerpc64/trap.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/sys/arch/powerpc64/powerpc64/pmap.c b/sys/arch/powerpc64/powerpc64/pmap.c
index f02f81d0297..18d6d521b65 100644
--- a/sys/arch/powerpc64/powerpc64/pmap.c
+++ b/sys/arch/powerpc64/powerpc64/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.48 2020/09/07 18:51:47 kettenis Exp $ */
+/* $OpenBSD: pmap.c,v 1.49 2020/10/09 20:30:18 kettenis Exp $ */
/*
* Copyright (c) 2015 Martin Pieuchot
@@ -48,6 +48,7 @@
*/
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/atomic.h>
#include <sys/pool.h>
#include <sys/proc.h>
diff --git a/sys/arch/powerpc64/powerpc64/syscall.c b/sys/arch/powerpc64/powerpc64/syscall.c
index 6a979c3b1c4..b383c7978f3 100644
--- a/sys/arch/powerpc64/powerpc64/syscall.c
+++ b/sys/arch/powerpc64/powerpc64/syscall.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscall.c,v 1.6 2020/07/14 09:42:33 kettenis Exp $ */
+/* $OpenBSD: syscall.c,v 1.7 2020/10/09 20:30:18 kettenis Exp $ */
/*
* Copyright (c) 2015 Dale Rahn <drahn@dalerahn.com>
@@ -18,6 +18,7 @@
*/
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/user.h>
#include <sys/syscall.h>
diff --git a/sys/arch/powerpc64/powerpc64/trap.c b/sys/arch/powerpc64/powerpc64/trap.c
index d46fbf3ddb4..49b89a90bd4 100644
--- a/sys/arch/powerpc64/powerpc64/trap.c
+++ b/sys/arch/powerpc64/powerpc64/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.41 2020/10/08 19:41:05 deraadt Exp $ */
+/* $OpenBSD: trap.c,v 1.42 2020/10/09 20:30:18 kettenis Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
@@ -17,6 +17,7 @@
*/
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/signalvar.h>
#include <sys/user.h>