summaryrefslogtreecommitdiff
path: root/cpus.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2011-06-23 10:15:55 +0200
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2011-06-24 09:13:37 +0100
commit0ff0fc19cde2e122c86a7af697df65cf8a5e222e (patch)
treee2e8c0e181d5e14b623284fc0e2432a4c6b5980a /cpus.c
parent2167f7bc289a90b043826961c2a3271298d51ef6 (diff)
downloadqemu-0ff0fc19cde2e122c86a7af697df65cf8a5e222e.tar.gz
qemu-0ff0fc19cde2e122c86a7af697df65cf8a5e222e.tar.bz2
qemu-0ff0fc19cde2e122c86a7af697df65cf8a5e222e.zip
Do not include compatfd for WIN32
sigset_t, used by that header, is not available in mingw32 environments. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'cpus.c')
-rw-r--r--cpus.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpus.c b/cpus.c
index 0699f378b1..ded21007e7 100644
--- a/cpus.c
+++ b/cpus.c
@@ -34,7 +34,10 @@
#include "qemu-thread.h"
#include "cpus.h"
+
+#ifndef _WIN32
#include "compatfd.h"
+#endif
#ifdef SIGRTMIN
#define SIG_IPI (SIGRTMIN+4)