From b834b5081d6266cc0789454905f3b7d622d4d096 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Thu, 30 Aug 2012 22:28:31 +0200 Subject: 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 --- target-i386/cpu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target-i386/cpu.c b/target-i386/cpu.c index f3cac49fd..423e00905 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 -- cgit v1.2.3