]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/qemu-xen.git/commitdiff
w32: Fix broken build
authorStefan Weil <sw@weilnetz.de>
Thu, 30 Aug 2012 20:28:31 +0000 (22:28 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 30 Aug 2012 21:36:21 +0000 (16:36 -0500)
Commit ef8621b1a3b199c348606c0a11a77d8e8bf135f1 added an include
file which is not available for MinGW compilations.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
target-i386/cpu.c

index f3cac49fd386eae0481760c8f7d325cdb9f38e18..423e00905d0907acecd6b2d87a71706f922b9602 100644 (file)
@@ -33,7 +33,9 @@
 #include "hyperv.h"
 
 #include "hw/hw.h"
+#if defined(CONFIG_KVM)
 #include <linux/kvm_para.h>
+#endif
 
 /* feature flags taken from "Intel Processor Identification and the CPUID
  * Instruction" and AMD's "CPUID Specification".  In cases of disagreement