qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 3/3] w64: Fix problem with missing sigset_t


From: Stefan Weil
Subject: [Qemu-devel] [PATCH 3/3] w64: Fix problem with missing sigset_t
Date: Fri, 21 Jan 2011 22:53:04 +0100

MinGW-w64 does not declare sigset_t which is used in compatfd.h.

sigset_t is not needed for compilations without CONFIG_IOTHREAD,
so it is possible to avoid the problem by using a conditional
include.

Signed-off-by: Stefan Weil <address@hidden>
---
 cpus.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/cpus.c b/cpus.c
index 329acb0..db145c6 100644
--- a/cpus.c
+++ b/cpus.c
@@ -33,7 +33,9 @@
 #include "exec-all.h"
 
 #include "cpus.h"
+#ifdef CONFIG_IOTHREAD
 #include "compatfd.h"
+#endif
 #ifdef CONFIG_LINUX
 #include <sys/prctl.h>
 #endif
-- 
1.7.2.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]