@samitouri / QOSamiQemu / commits / 60cfd6da28

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>

Philippe Mathieu-Daudé committed Jun 17, 2026 at 13:10 UTC 60cfd6da286bec2e3c4ab37aa2a96a2c36f3ab31
1 file changed +1
include/exec/cpu-common.h
+1
@@ -8,6 +8,7 @@
8 #ifndef CPU_COMMON_H
9 #define CPU_COMMON_H
10
11 +#include "qemu/thread.h"
12 #include "exec/vaddr.h"
13 #include "hw/core/cpu.h"
14 #include "tcg/debug-assert.h"