From dd9edefa15c18e27eb8050f5d929e79bf9bab7e0 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Thu, 16 Sep 2021 21:51:06 +0200 Subject: arch/riscv/trap_handler: add missing types.h include Both bool and uintptr_t types are used in this file, so include types.h to have the definitions. Signed-off-by: Felix Held Change-Id: I647d9f50cd6edaf08bebf5d713cd05731fadfc1b Reviewed-on: https://review.coreboot.org/c/coreboot/+/57722 Tested-by: build bot (Jenkins) Reviewed-by: Raul Rangel --- src/arch/riscv/trap_handler.c | 1 + 1 file changed, 1 insertion(+) 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 #include #include +#include static const char *const exception_names[] = { "Instruction address misaligned", -- cgit v1.2.3