summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/riscv64/riscv64/db_disasm.c1
-rw-r--r--sys/arch/riscv64/riscv64/db_trace.c1
-rw-r--r--sys/arch/riscv64/riscv64/softintr.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/sys/arch/riscv64/riscv64/db_disasm.c b/sys/arch/riscv64/riscv64/db_disasm.c
index 4cbf68b4659..fbdcd084ada 100644
--- a/sys/arch/riscv64/riscv64/db_disasm.c
+++ b/sys/arch/riscv64/riscv64/db_disasm.c
@@ -15,6 +15,7 @@
*/
#include <sys/param.h>
+#include <sys/systm.h>
#include <machine/db_machdep.h>
#include <ddb/db_interface.h>
#include <ddb/db_sym.h>
diff --git a/sys/arch/riscv64/riscv64/db_trace.c b/sys/arch/riscv64/riscv64/db_trace.c
index 3a88ed46ec7..90fe7b1b1ab 100644
--- a/sys/arch/riscv64/riscv64/db_trace.c
+++ b/sys/arch/riscv64/riscv64/db_trace.c
@@ -28,6 +28,7 @@
*/
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/stacktrace.h>
diff --git a/sys/arch/riscv64/riscv64/softintr.c b/sys/arch/riscv64/riscv64/softintr.c
index 71813fe500f..2a64b9e7186 100644
--- a/sys/arch/riscv64/riscv64/softintr.c
+++ b/sys/arch/riscv64/riscv64/softintr.c
@@ -32,6 +32,7 @@
*/
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/malloc.h>
#include <machine/intr.h>