Files using serial_hd() should include 'system/system.h'. Fix that. Cc: Michael S. Tsirkin <m...@redhat.com> Cc: Paolo Bonzini <pbonz...@redhat.com> Signed-off-by: Cédric Le Goater <c...@redhat.com> --- hw/isa/isa-superio.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/hw/isa/isa-superio.c b/hw/isa/isa-superio.c index 2853485977cf4c03df16bdcaf2a8e6c7c198ffb0..941b0f91d7522647f3d46798321d2cbea0873fe4 100644 --- a/hw/isa/isa-superio.c +++ b/hw/isa/isa-superio.c @@ -15,6 +15,7 @@ #include "qemu/module.h" #include "qapi/error.h" #include "system/blockdev.h" +#include "system/system.h" #include "chardev/char.h" #include "hw/char/parallel.h" #include "hw/block/fdc.h" -- 2.51.0