diff mbox

[PULL,25/52] sh4: include cpu-qom.h in files that require SuperHCPU

Message ID 1463656726-35952-26-git-send-email-pbonzini@redhat.com
State New
Headers show

Commit Message

Paolo Bonzini May 19, 2016, 11:18 a.m. UTC
This will keep things working when cpu.h will not be included
indirectly almost everywhere (either directly or through
qemu-common.h).

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 include/hw/sh4/sh.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/include/hw/sh4/sh.h b/include/hw/sh4/sh.h
index e61de9a..070312d 100644
--- a/include/hw/sh4/sh.h
+++ b/include/hw/sh4/sh.h
@@ -3,6 +3,7 @@ 
 /* Definitions for SH board emulation.  */
 
 #include "hw/sh4/sh_intc.h"
+#include "target-sh4/cpu-qom.h"
 
 #define A7ADDR(x) ((x) & 0x1fffffff)
 #define P4ADDR(x) ((x) | 0xe0000000)