diff mbox

Do not include compatfd for WIN32

Message ID 4E02F63B.7050701@web.de
State New
Headers show

Commit Message

Jan Kiszka June 23, 2011, 8:15 a.m. UTC
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>
---
 cpus.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Comments

Stefan Hajnoczi June 23, 2011, 1:34 p.m. UTC | #1
On Thu, Jun 23, 2011 at 10:15:55AM +0200, Jan Kiszka wrote:
> 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>
> ---
>  cpus.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)

Thanks, applied to the trivial patches tree:
http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/trivial-patches

Stefan
diff mbox

Patch

diff --git a/cpus.c b/cpus.c
index 322295c..600f8f5 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)