From: Philippe Mathieu-Daudé Date: Mon, 19 Feb 2024 10:13:48 +0000 (+0100) Subject: hw/i386/q35: Include missing 'hw/acpi/acpi.h' header X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b6718da464fc39f666635c7b240211395641502d;p=qemu.git hw/i386/q35: Include missing 'hw/acpi/acpi.h' header "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é Reviewed-by: Zhao Liu Message-Id: <20240226090600.31952-3-philmd@linaro.org> --- diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c index c89ff63579..3c80f37ead 100644 --- a/hw/i386/pc_q35.c +++ b/hw/i386/pc_q35.c @@ -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"