From: Stefan Weil Date: Thu, 30 Aug 2012 20:28:31 +0000 (+0200) Subject: w32: Fix broken build X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b834b5081d6266cc0789454905f3b7d622d4d096;p=qemu.git w32: Fix broken build Commit ef8621b1a3b199c348606c0a11a77d8e8bf135f1 added an include file which is not available for MinGW compilations. Signed-off-by: Stefan Weil Signed-off-by: Anthony Liguori --- diff --git a/target-i386/cpu.c b/target-i386/cpu.c index f3cac49fd3..423e00905d 100644 --- a/target-i386/cpu.c +++ b/target-i386/cpu.c @@ -33,7 +33,9 @@ #include "hyperv.h" #include "hw/hw.h" +#if defined(CONFIG_KVM) #include +#endif /* feature flags taken from "Intel Processor Identification and the CPUID * Instruction" and AMD's "CPUID Specification". In cases of disagreement