From: Philippe Mathieu-Daudé Date: Tue, 13 May 2025 11:33:29 +0000 (+0100) Subject: qemu/target-info: Include missing 'qapi-types-common.h' header X-Git-Tag: v10.2.0-rc1~53^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=253f902d845b4ce2877b4b446c026be0dd0ea7f1;p=thirdparty%2Fqemu.git qemu/target-info: Include missing 'qapi-types-common.h' header When adding the TargetInfo::@endianness field in commit a37aec2e7d8, we neglected to include the "qapi-types-common.h" header to get the EndianMode enum definition. Fix that. Fixes: a37aec2e7d8 ("qemu/target-info: Add target_endian_mode()") Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Pierrick Bouvier Message-Id: <20251020220941.65269-10-philmd@linaro.org> --- diff --git a/include/qemu/target-info-impl.h b/include/qemu/target-info-impl.h index 17887f64e2..e446585bf5 100644 --- a/include/qemu/target-info-impl.h +++ b/include/qemu/target-info-impl.h @@ -9,6 +9,7 @@ #ifndef QEMU_TARGET_INFO_IMPL_H #define QEMU_TARGET_INFO_IMPL_H +#include "qapi/qapi-types-common.h" #include "qapi/qapi-types-machine.h" typedef struct TargetInfo {