From f82a94ec3ec7ec1ae6b7457b7d59e2c6514ed882 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Date: Fri, 13 Mar 2026 04:56:32 +0100 Subject: [PATCH] monitor/hmp: : Include missing 'exec/target_long.h' header MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The "exec/target_long.h" header is indirectly included, pulled via "cpu.h" -> "exec/cpu-defs.h". Include it explicitly otherwise we'd get when removing the latter: monitor/hmp-target.h:35:5: error: type name requires a specifier or qualifier 35 | target_long (*get_value)(Monitor *mon, const struct MonitorDef *md, | ^ Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Pierrick Bouvier Message-Id: <20260427080738.77138-2-philmd@linaro.org> --- include/monitor/hmp-target.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/monitor/hmp-target.h b/include/monitor/hmp-target.h index 5167d17d41..898473b3ed 100644 --- a/include/monitor/hmp-target.h +++ b/include/monitor/hmp-target.h @@ -28,7 +28,7 @@ typedef struct MonitorDef MonitorDef; #ifdef COMPILING_PER_TARGET -#include "cpu.h" +#include "exec/target_long.h" struct MonitorDef { const char *name; int offset;