diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-02-09 16:00:37 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2024-02-13 10:59:25 +0300 |
commit | 5f8d88bdeb4df6fc7d2a801719adfc92a8ff235a (patch) | |
tree | 567618a4ecefdde44b770f683a8e235996b61466 /cpu-target.c | |
parent | 0ccebcdcf4a1ee394fae415a0ebbec8a438ca2b5 (diff) |
cpu-target: Include missing 'exec/memory.h' header
Include "exec/memory.h" in order to avoid:
cpu-target.c:201:50: error: use of undeclared identifier 'TYPE_MEMORY_REGION'
DEFINE_PROP_LINK("memory", CPUState, memory, TYPE_MEMORY_REGION,
^
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'cpu-target.c')
-rw-r--r-- | cpu-target.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpu-target.c b/cpu-target.c index 958d63e882..86444cc2c6 100644 --- a/cpu-target.c +++ b/cpu-target.c @@ -31,6 +31,7 @@ #else #include "hw/core/sysemu-cpu-ops.h" #include "exec/address-spaces.h" +#include "exec/memory.h" #endif #include "sysemu/cpus.h" #include "sysemu/tcg.h" |