qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] w32: Fix compilation (wrong include file)


From: Stefan Weil
Subject: [Qemu-devel] [PATCH] w32: Fix compilation (wrong include file)
Date: Sun, 3 Apr 2011 08:55:35 +0200

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 <address@hidden>
Signed-off-by: Stefan Weil <address@hidden>
---
 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




reply via email to

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