Commit 60cfd6da28 for qemu.org
commit 60cfd6da286bec2e3c4ab37aa2a96a2c36f3ab31
Author: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Date: Wed Jun 17 13:10:22 2026 +0200
exec/cpu-common.h: Include missing 'qemu/thread.h' header
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é <philmd@oss.qualcomm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20260617160426.64461-3-philmd@oss.qualcomm.com>
diff --git a/include/exec/cpu-common.h b/include/exec/cpu-common.h
index 74337d8464..8cddd32ca8 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"