diff --git a/target-lm32/cpu.h b/target-lm32/cpu.h index b6b6b4c87afbe438f49095e70afc6a77597248ae..cc9b53bdfea6dad05b6b3646074a7be765794b97 100644 --- a/target-lm32/cpu.h +++ b/target-lm32/cpu.h @@ -28,6 +28,7 @@ #include "qemu-common.h" #include "cpu-defs.h" struct CPULM32State; +typedef struct CPULM32State CPULM32State; #define TARGET_HAS_ICE 1 diff --git a/target-microblaze/cpu.h b/target-microblaze/cpu.h index 409250649d9b773ea9befbea820ea3f14d06ef51..94ec43b3a3ed0138deae974550735f929174d465 100644 --- a/target-microblaze/cpu.h +++ b/target-microblaze/cpu.h @@ -29,6 +29,7 @@ #include "cpu-defs.h" #include "softfloat.h" struct CPUMBState; +typedef struct CPUMBState CPUMBState; #if !defined(CONFIG_USER_ONLY) #include "mmu.h" #endif