OSDN Git Service

display: include dependencies explicitly
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 9 Nov 2022 22:21:23 +0000 (17:21 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 10 Nov 2022 15:17:18 +0000 (10:17 -0500)
commit28cf39609603e4b5b2de8b74d4caa4d840425eff
tree4b9f111ba88389705275f87d1000bc9888ba20fa
parent53a3b83259a7880982b3eddda31520ff0d8c9268
display: include dependencies explicitly

acpi-vga-stub.c pulls in vga_int.h
However that currently pulls in ui/console.h which
breaks e.g. on systems without pixman.
It's better to remove ui/console.h from vga_int.h
and directly include it where it's used.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20221109222112.74519-1-mst@redhat.com>
Tested-by: Laurent Vivier <lvivier@redhat.com>
Reported-by: Miroslav Rezanina <mrezanin@redhat.com>
Reported-by: Frederic Bezies <fredbezies@gmail.com>
Reported-by: Laurent Vivier <lvivier@redhat.com>
Fixes: cfead31326 ("AcpiDevAmlIf interface to build VGA device descs")
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/display/ati_2d.c
hw/display/cirrus_vga.c
hw/display/cirrus_vga_isa.c
hw/display/vga-isa.c
hw/display/vga-mmio.c
hw/display/vga-pci.c
hw/display/vga.c
hw/display/vga_int.h
hw/display/vmware_vga.c
include/qemu/typedefs.h