summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-03-15 14:32:19 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2016-05-19 16:42:27 +0200
commit4669fcc7faee8c682a464e5618c5bc36de4f9f3c (patch)
treec73ad09b02254188ca792ef33d3a8e002ebc3dfb
parent16fd6461822b3dffcf324c3e210b7ec6e9b876db (diff)
downloadfocaccia-qemu-4669fcc7faee8c682a464e5618c5bc36de4f9f3c.tar.gz
focaccia-qemu-4669fcc7faee8c682a464e5618c5bc36de4f9f3c.zip
m68k: include cpu-qom.h in files that require M68KCPU
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>
-rw-r--r--include/hw/m68k/mcf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/m68k/mcf.h b/include/hw/m68k/mcf.h
index fbc8dc26df..0f0d2288e6 100644
--- a/include/hw/m68k/mcf.h
+++ b/include/hw/m68k/mcf.h
@@ -2,6 +2,8 @@
 #define HW_MCF_H
 /* Motorola ColdFire device prototypes.  */
 
+#include "target-m68k/cpu-qom.h"
+
 struct MemoryRegion;
 
 /* mcf_uart.c */