aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-03-22 12:08:42 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-05-03 17:21:20 +0200
commit155fb465b1a6c87d8fc002a670b6517a6790fad8 (patch)
tree8936a87ec67d4b999da468553c9513b05f5a4c88 /plugins
parentbf0bcac890cc7b4c9e52c9e94817897ce73b69a8 (diff)
plugins/api: Only include 'exec/ram_addr.h' with system emulation
"exec/ram_addr.h" shouldn't be used with user emulation. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Acked-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20240427155714.53669-4-philmd@linaro.org>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/api.c b/plugins/api.c
index 8fa5a600ac..eaee344d8e 100644
--- a/plugins/api.c
+++ b/plugins/api.c
@@ -42,10 +42,10 @@
#include "tcg/tcg.h"
#include "exec/exec-all.h"
#include "exec/gdbstub.h"
-#include "exec/ram_addr.h"
#include "disas/disas.h"
#include "plugin.h"
#ifndef CONFIG_USER_ONLY
+#include "exec/ram_addr.h"
#include "qemu/plugin-memory.h"
#include "hw/boards.h"
#else