aboutsummaryrefslogtreecommitdiff
path: root/target-i386
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-08-30 22:28:31 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2012-08-30 16:36:21 -0500
commitb834b5081d6266cc0789454905f3b7d622d4d096 (patch)
treeb39e5f43f6db86eef3e215311d1dc752829c46a0 /target-i386
parentc9a238e7005bc6c94c7367b2976402ee5adec0de (diff)
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>
Diffstat (limited to 'target-i386')
-rw-r--r--target-i386/cpu.c2
1 files changed, 2 insertions, 0 deletions
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 <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