From a421e8786be1b09645f287fe8a9d6d840fae4abb Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Tue, 4 Feb 2020 18:56:26 +0000 Subject: [PATCH] Add sys/systm.h to several places that use vm headers. It is needed (but not enough) to use e.g. KASSERT() in inline functions. Sponsored by: The FreeBSD Foundation MFC after: 1 week --- sys/cddl/compat/opensolaris/kern/opensolaris_vm.c | 1 + sys/compat/cloudabi/cloudabi_vdso.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/cddl/compat/opensolaris/kern/opensolaris_vm.c b/sys/cddl/compat/opensolaris/kern/opensolaris_vm.c index fe444ecc287..fcfc2886192 100644 --- a/sys/cddl/compat/opensolaris/kern/opensolaris_vm.c +++ b/sys/cddl/compat/opensolaris/kern/opensolaris_vm.c @@ -28,6 +28,7 @@ __FBSDID("$FreeBSD$"); #include +#include #include #include diff --git a/sys/compat/cloudabi/cloudabi_vdso.c b/sys/compat/cloudabi/cloudabi_vdso.c index b89dd68e683..ab621b3c18b 100644 --- a/sys/compat/cloudabi/cloudabi_vdso.c +++ b/sys/compat/cloudabi/cloudabi_vdso.c @@ -26,7 +26,8 @@ #include __FBSDID("$FreeBSD$"); -#include +#include +#include #include #include #include