Unfortunately we need to include "qemu/thread.h" -- which is currently indirectly pulled in -- to get the QemuMutex type definition:
extern QemuMutex qemu_cpu_list_lock; Signed-off-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Message-Id: <[email protected]> --- include/exec/cpu-common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/exec/cpu-common.h b/include/exec/cpu-common.h index 74337d84640..8cddd32ca8b 100644 --- a/include/exec/cpu-common.h +++ b/include/exec/cpu-common.h @@ -8,6 +8,7 @@ #ifndef CPU_COMMON_H #define CPU_COMMON_H +#include "qemu/thread.h" #include "exec/vaddr.h" #include "hw/core/cpu.h" #include "tcg/debug-assert.h" -- 2.53.0
