Include sys/systm.h in riscv64 db files,
authordrahn <drahn@openbsd.org>
Fri, 23 Apr 2021 04:36:05 +0000 (04:36 +0000)
committerdrahn <drahn@openbsd.org>
Fri, 23 Apr 2021 04:36:05 +0000 (04:36 +0000)
matches other archs, fixes -Werror failues,
ok jsg@

sys/arch/riscv64/riscv64/db_disasm.c
sys/arch/riscv64/riscv64/db_trace.c
sys/arch/riscv64/riscv64/softintr.c

index 4cbf68b..fbdcd08 100644 (file)
@@ -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>
index 3a88ed4..90fe7b1 100644 (file)
@@ -28,6 +28,7 @@
  */
 
 #include <sys/param.h>
+#include <sys/systm.h>
 
 #include <sys/proc.h>
 #include <sys/stacktrace.h>
index 71813fe..2a64b9e 100644 (file)
@@ -32,6 +32,7 @@
  */
 
 #include <sys/param.h>
+#include <sys/systm.h>
 #include <sys/malloc.h>
 
 #include <machine/intr.h>