Do not include compatfd for WIN32
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 23 Jun 2011 08:15:55 +0000 (10:15 +0200)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Fri, 24 Jun 2011 08:13:37 +0000 (09:13 +0100)
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>
cpus.c

diff --git a/cpus.c b/cpus.c
index 0699f378b127f2ee495e3c31116e14ce4234bd36..ded21007e7b16e07f2b8a9d83df1da80b66a0890 100644 (file)
--- a/cpus.c
+++ b/cpus.c
 
 #include "qemu-thread.h"
 #include "cpus.h"
+
+#ifndef _WIN32
 #include "compatfd.h"
+#endif
 
 #ifdef SIGRTMIN
 #define SIG_IPI (SIGRTMIN+4)