From: Philippe Mathieu-Daudé Date: Mon, 4 Sep 2023 12:43:12 +0000 (+0200) Subject: hw/i386/pc: Include missing 'sysemu/tcg.h' header X-Git-Tag: qemu-xen-4.20.0~555^2~14 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=e44d989aaebb8271c833144484c38f6b6f071736;p=qemu-xen.git hw/i386/pc: Include missing 'sysemu/tcg.h' header Since commit 6f529b7534 ("target/i386: move FERR handling to target/i386") pc_q35_init() calls tcg_enabled() which is declared in "sysemu/tcg.h". Signed-off-by: Philippe Mathieu-Daudé Message-ID: <20230904124325.79040-2-philmd@linaro.org> Signed-off-by: Paolo Bonzini --- diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c index 37c4814bed..43413dd1ac 100644 --- a/hw/i386/pc_q35.c +++ b/hw/i386/pc_q35.c @@ -34,6 +34,7 @@ #include "hw/loader.h" #include "hw/i2c/smbus_eeprom.h" #include "hw/rtc/mc146818rtc.h" +#include "sysemu/tcg.h" #include "sysemu/kvm.h" #include "hw/kvm/clock.h" #include "hw/pci-host/q35.h"