]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/uefi: Include missing 'system/memory.h' header
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 24 Oct 2025 13:33:02 +0000 (15:33 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 28 Oct 2025 07:19:18 +0000 (08:19 +0100)
commit271fd69da7c01487bfe990f577ff54001067dd5f
treea07f8d7f1ad477a266e6d5929acc8204d1cb67d4
parent2226fa1a92c41d48e3d3d3e1ead42e979e331df2
hw/uefi: Include missing 'system/memory.h' header

"system/memory.h" header is indirectly pulled by "hw/sysbus.h".
Include it explicitly to avoid when refactoring the latter:

  include/hw/uefi/var-service.h:50:39: error: field has incomplete type 'MemoryRegion' (aka 'struct MemoryRegion')
     50 |     MemoryRegion                      mr;
        |                                       ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Message-Id: <20251024190416.8803-14-philmd@linaro.org>
include/hw/uefi/var-service.h