OSDN Git Service

m68k: include cpu-qom.h in files that require M68KCPU
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 15 Mar 2016 13:32:19 +0000 (14:32 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 19 May 2016 14:42:27 +0000 (16:42 +0200)
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/m68k/mcf.h

index fbc8dc2..0f0d228 100644 (file)
@@ -2,6 +2,8 @@
 #define HW_MCF_H
 /* Motorola ColdFire device prototypes.  */
 
+#include "target-m68k/cpu-qom.h"
+
 struct MemoryRegion;
 
 /* mcf_uart.c */