diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2021-04-23 04:36:06 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2021-04-23 04:36:06 +0000 |
commit | da9712e6fbd6377e4f48e5f3724adee7acf987d2 (patch) | |
tree | 24134e6b2ea02e2d02f5de8f1723ea7d7da35374 | |
parent | c3878cd41f1a38bd895e904057a1f8ebd6f529fd (diff) |
Include sys/systm.h in riscv64 db files,
matches other archs, fixes -Werror failues,
ok jsg@
-rw-r--r-- | sys/arch/riscv64/riscv64/db_disasm.c | 1 | ||||
-rw-r--r-- | sys/arch/riscv64/riscv64/db_trace.c | 1 | ||||
-rw-r--r-- | sys/arch/riscv64/riscv64/softintr.c | 1 |
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> |