Ver Fonte

w32: Fix broken build

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>
Stefan Weil há 13 anos atrás
pai
commit
b834b5081d
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      target-i386/cpu.c

+ 2 - 0
target-i386/cpu.c

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