monitor/hmp: : Include missing 'exec/target_long.h' header
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é <philmd@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-Id: <20260427080738.77138-2-philmd@linaro.org>
Philippe Mathieu-Daudé committed
Mar 13, 2026 at 04:56 UTC
f82a94ec3ec7ec1ae6b7457b7d59e2c6514ed882
1 file changed
+1
-1
include/monitor/hmp-target.h
+1
-1
@@ -28,7 +28,7 @@
28
typedef struct MonitorDef MonitorDef;
29
30
#ifdef COMPILING_PER_TARGET
31
-#include "cpu.h"
31
+#include "exec/target_long.h"
32
struct MonitorDef {
33
const char *name;
34
int offset;