From: Paolo Bonzini Date: Wed, 3 Dec 2025 11:39:24 +0000 (+0100) Subject: hw: add missing includes hidden by block/aio.h X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e47deb1de5b93d1f93b6c7c642b736581a7fbce4;p=thirdparty%2Fqemu.git hw: add missing includes hidden by block/aio.h hw/qdev/core.h being included by core headers means that it was quite easy to forget including it, or anything that hw/qdev/core.h included. Add the missing inclusions. Signed-off-by: Paolo Bonzini --- 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"