summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/arch/riscv/trap_handler.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/riscv/trap_handler.c b/src/arch/riscv/trap_handler.c
index 32b2c409f7..f940f63a5f 100644
--- a/src/arch/riscv/trap_handler.c
+++ b/src/arch/riscv/trap_handler.c
@@ -9,6 +9,7 @@
#include <vm.h>
#include <mcall.h>
#include <sbi.h>
+#include <types.h>
static const char *const exception_names[] = {
"Instruction address misaligned",