Patchwork [10/13] Do not include compatfd for WIN32

login
register
mail settings
Submitter Stefan Hajnoczi
Date June 24, 2011, 4:56 p.m.
Message ID <1308934609-20824-11-git-send-email-stefanha@linux.vnet.ibm.com>
Download mbox | patch
Permalink /patch/101830/
State New
Headers show

Comments

Stefan Hajnoczi - June 24, 2011, 4:56 p.m.
From: Jan Kiszka <jan.kiszka@siemens.com>

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 |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Patch

diff --git a/cpus.c b/cpus.c
index 0699f37..ded2100 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)