From: Stefan Weil <weil@mail.berlios.de>
To: Blue Swirl <blauwirbel@gmail.com>
Cc: Alon Levy <alevy@redhat.com>, QEMU Developers <qemu-devel@nongnu.org>
Subject: [Qemu-devel] [PATCH] w32: Fix compilation (wrong include file)
Date: Sun, 3 Apr 2011 08:55:35 +0200 [thread overview]
Message-ID: <1301813735-3506-1-git-send-email-weil@mail.berlios.de> (raw)
arpa/inet.h is not available for w32, so commit
edbb21363fbfe40e050f583df921484cbc31c79d breaks
w32 compilations.
This is fixed by using qemu_socket.h.
Cc: Alon Levy <alevy@redhat.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
---
hw/ccid-card-passthru.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/hw/ccid-card-passthru.c b/hw/ccid-card-passthru.c
index 8506fed..28eb9d1 100644
--- a/hw/ccid-card-passthru.c
+++ b/hw/ccid-card-passthru.c
@@ -8,9 +8,8 @@
* See the COPYING file in the top-level directory.
*/
-#include <arpa/inet.h>
-
#include "qemu-char.h"
+#include "qemu_socket.h"
#include "monitor.h"
#include "hw/ccid.h"
#include "libcacard/vscard_common.h"
--
1.7.0.4
next reply other threads:[~2011-04-03 6:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-03 6:55 Stefan Weil [this message]
2011-04-03 7:39 ` [Qemu-devel] Re: [PATCH] w32: Fix compilation (wrong include file) Alon Levy
2011-04-03 22:30 ` [Qemu-devel] " Aurelien Jarno
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=1301813735-3506-1-git-send-email-weil@mail.berlios.de \
--to=weil@mail.berlios.de \
--cc=alevy@redhat.com \
--cc=blauwirbel@gmail.com \
--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).