Skip to contentSkip to conversation

w32: Fix broken build

PATCH Applied Stefan Weil 2 participants 2 messages Aug 30, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 w32: Fix broken build

Commit ef8621b1a3b199c348606c0a11a77d8e8bf135f1 added an include file which is not available for MinGW compilations.

---
 target-i386/cpu.c |    2 ++
 1 file changed, 2 insertions(+)
target-i386/cpu.c +2 -0
index f3cac49..423e009 100644
@@ -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
Signature · 1 line
1.7.10
#1 lore raw
Quoted 4 lines · Stefan Weil

Commit ef8621b1a3b199c348606c0a11a77d8e8bf135f1 added an include file which is not available for MinGW compilations.

Applied. Thanks.

Regards,

Anthony Liguori

Quoted 20 lines
---
 target-i386/cpu.c |    2 ++
 1 file changed, 2 insertions(+)
target-i386/cpu.c +2 -0
index f3cac49..423e009 100644
@@ -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
Signature · 1 line
1.7.10