From: Stefan Weil <weil@mail.berlios.de>
To: QEMU Developers <qemu-devel@nongnu.org>
Subject: [Qemu-devel] [PATCH 3/3] w64: Fix problem with missing sigset_t
Date: Fri, 21 Jan 2011 22:53:04 +0100 [thread overview]
Message-ID: <1295646784-31310-1-git-send-email-weil@mail.berlios.de> (raw)
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
reply other threads:[~2011-01-21 21:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1295646784-31310-1-git-send-email-weil@mail.berlios.de \
--to=weil@mail.berlios.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).