From: Philippe Mathieu-Daudé Date: Tue, 13 Feb 2024 12:01:50 +0000 (+0100) Subject: hw/i386/port92: Add missing 'hw/isa/isa.h' header X-Git-Tag: v9.0.0-rc0~55^2~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0a1e084949dcc2282cbbed33f10ca56d478023bd;p=thirdparty%2Fqemu.git hw/i386/port92: Add missing 'hw/isa/isa.h' header TYPE_PORT92 inherits TYPE_ISA_DEVICE, so need to include "hw/isa/isa.h" to get its declarations (currently we indirectly include this header via "hw/i386/pc.h"). Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Michael Tokarev Reviewed-by: Luc Michel Signed-off-by: Michael Tokarev --- diff --git a/hw/i386/port92.c b/hw/i386/port92.c index 1070bfbf361..b25157f6e4b 100644 --- a/hw/i386/port92.c +++ b/hw/i386/port92.c @@ -10,6 +10,7 @@ #include "sysemu/runstate.h" #include "migration/vmstate.h" #include "hw/irq.h" +#include "hw/isa/isa.h" #include "hw/i386/pc.h" #include "trace.h" #include "qom/object.h"