diff --git a/hw/virtio/iothread-vq-mapping.c b/hw/virtio/iothread-vq-mapping.c index 15909eb933..55ce62986c 100644 --- a/hw/virtio/iothread-vq-mapping.c +++ b/hw/virtio/iothread-vq-mapping.c @@ -8,6 +8,7 @@ #include "qemu/osdep.h" #include "system/iothread.h" +#include "qemu/bitmap.h" #include "hw/virtio/iothread-vq-mapping.h" static bool diff --git a/include/hw/char/serial.h b/include/hw/char/serial.h index b804e22588..ea82ffac47 100644 --- a/include/hw/char/serial.h +++ b/include/hw/char/serial.h @@ -26,6 +26,7 @@ #ifndef HW_SERIAL_H #define HW_SERIAL_H +#include "hw/core/qdev.h" #include "chardev/char-fe.h" #include "system/memory.h" #include "qemu/fifo8.h"