riscv/boot: Add a missing header include
authorAlistair Francis <alistair.francis@wdc.com>
Thu, 23 Apr 2020 21:09:37 +0000 (14:09 -0700)
committerAlistair Francis <alistair.francis@wdc.com>
Wed, 3 Jun 2020 16:11:51 +0000 (09:11 -0700)
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 <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Bin Meng <bin.meng@windriver.com>
include/hw/riscv/boot.h

index 474a940ad5289c87418aff333cf0d438dabf6b33..9daa98da08d7a049cfed466c66a2e9ab7bba256e 100644 (file)
@@ -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,