]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/pci-host/prep.c
Include qemu-common.h exactly where needed
[mirror_qemu.git] / hw / pci-host / prep.c
index b1b6b16badb38ff35e4c50f358fdc6aab08f5b51..c564f234afaad79b7518fa6b762d682a36633f85 100644 (file)
@@ -24,6 +24,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu-common.h"
 #include "qemu/units.h"
 #include "qapi/error.h"
 #include "hw/hw.h"
@@ -331,7 +332,7 @@ static void raven_realize(PCIDevice *d, Error **errp)
         filename = qemu_find_file(QEMU_FILE_TYPE_BIOS, s->bios_name);
         if (filename) {
             if (s->elf_machine != EM_NONE) {
-                bios_size = load_elf(filename, NULL, NULL, NULL,
+                bios_size = load_elf(filename, NULL, NULL, NULL, NULL,
                                      NULL, NULL, 1, s->elf_machine, 0, 0);
             }
             if (bios_size < 0) {