From: Alistair Francis Date: Thu, 23 Apr 2020 21:09:37 +0000 (-0700) Subject: riscv/boot: Add a missing header include X-Git-Tag: qemu-xen-4.15.0~159^2~5 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=757e99b1ebfa8bc2823ba686ab56bb9941b2f238;p=qemu-xen.git riscv/boot: Add a missing header include As the functions declared in this header use the symbol_fn_t typedef itself declared in "hw/loader.h", we need to include it here to make the header file self-contained. Signed-off-by: Alistair Francis Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Bin Meng --- diff --git a/include/hw/riscv/boot.h b/include/hw/riscv/boot.h index 474a940ad5..9daa98da08 100644 --- a/include/hw/riscv/boot.h +++ b/include/hw/riscv/boot.h @@ -21,6 +21,7 @@ #define RISCV_BOOT_H #include "exec/cpu-defs.h" +#include "hw/loader.h" void riscv_find_and_load_firmware(MachineState *machine, const char *default_machine_firmware,