]> git.proxmox.com Git - mirror_qemu.git/commitdiff
hw/i386/q35: Include missing 'hw/acpi/acpi.h' header
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 19 Feb 2024 10:13:48 +0000 (11:13 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 27 Feb 2024 08:37:30 +0000 (09:37 +0100)
"hw/acpi/acpi.h" is implicitly included. Include it
explicitly to avoid the following error when refactoring
headers:

hw/i386/pc_q35.c:209:43: error: use of undeclared identifier 'ACPI_PM_PROP_ACPI_PCIHP_BRIDGE'
                              ACPI_PM_PROP_ACPI_PCIHP_BRIDGE,
                              ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Message-Id: <20240226090600.31952-3-philmd@linaro.org>

hw/i386/pc_q35.c

index c89ff63579fac92901dfa0a102cab12c0cc17b77..3c80f37eadb047f2cc6aacb3f243b82482594c0e 100644 (file)
@@ -30,6 +30,7 @@
 
 #include "qemu/osdep.h"
 #include "qemu/units.h"
+#include "hw/acpi/acpi.h"
 #include "hw/char/parallel-isa.h"
 #include "hw/loader.h"
 #include "hw/i2c/smbus_eeprom.h"