qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 3/3] w64: Fix problem with missing sigset_t
@ 2011-01-21 21:53 Stefan Weil
  0 siblings, 0 replies; only message in thread
From: Stefan Weil @ 2011-01-21 21:53 UTC (permalink / raw)
  To: QEMU Developers

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 <weil@mail.berlios.de>
---
 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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-01-21 21:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-21 21:53 [Qemu-devel] [PATCH 3/3] w64: Fix problem with missing sigset_t Stefan Weil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).