From 18282c4772fb68a0e076d17f30de9749190542f4 Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Thu, 1 Jun 2023 17:13:09 -0400 Subject: [PATCH] sysarch: Add includes required for ktrcapfail() calls to be compiled Reported by: jfree MFC after: 1 week --- sys/amd64/amd64/sys_machdep.c | 2 ++ sys/arm/arm/sys_machdep.c | 2 ++ sys/i386/i386/sys_machdep.c | 2 ++ 3 files changed, 6 insertions(+) diff --git a/sys/amd64/amd64/sys_machdep.c b/sys/amd64/amd64/sys_machdep.c index a3716a354448..b715663ea925 100644 --- a/sys/amd64/amd64/sys_machdep.c +++ b/sys/amd64/amd64/sys_machdep.c @@ -36,11 +36,13 @@ __FBSDID("$FreeBSD$"); #include "opt_capsicum.h" +#include "opt_ktrace.h" #include #include #include #include +#include #include #include #include diff --git a/sys/arm/arm/sys_machdep.c b/sys/arm/arm/sys_machdep.c index fc424d0fad39..718c5a06318e 100644 --- a/sys/arm/arm/sys_machdep.c +++ b/sys/arm/arm/sys_machdep.c @@ -35,10 +35,12 @@ __FBSDID("$FreeBSD$"); #include "opt_capsicum.h" +#include "opt_ktrace.h" #include #include #include +#include #include #include #include diff --git a/sys/i386/i386/sys_machdep.c b/sys/i386/i386/sys_machdep.c index eeff4b280696..04456b55da52 100644 --- a/sys/i386/i386/sys_machdep.c +++ b/sys/i386/i386/sys_machdep.c @@ -36,10 +36,12 @@ __FBSDID("$FreeBSD$"); #include "opt_capsicum.h" #include "opt_kstack_pages.h" +#include "opt_ktrace.h" #include #include #include +#include #include #include #include