From 96284e8973fe8d8556ef5d4aefa0807b9f22907c Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Sat, 12 Mar 2011 17:43:53 +0100 Subject: [PATCH] include qemu-thread.h early Signed-off-by: Paolo Bonzini Signed-off-by: Blue Swirl --- cpus.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cpus.c b/cpus.c index 09ce6fe9d3..c5743c4bd3 100644 --- a/cpus.c +++ b/cpus.c @@ -32,6 +32,7 @@ #include "kvm.h" #include "exec-all.h" +#include "qemu-thread.h" #include "cpus.h" #include "compatfd.h" @@ -592,8 +593,6 @@ void vm_stop(int reason) #else /* CONFIG_IOTHREAD */ -#include "qemu-thread.h" - QemuMutex qemu_global_mutex; static QemuMutex qemu_fair_mutex; -- 2.11.4.GIT