summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2011-04-03 08:55:35 +0200
committerAurelien Jarno <aurelien@aurel32.net>2011-04-04 00:29:24 +0200
commit6d65516f774c62a1abde3e52b689ac743b9ccc71 (patch)
tree07ac7c2aa2faba34b4391b0904aadb775ad25cec
parent0ce235a7ee5a1852c0a18d4764ac0a6700805c83 (diff)
downloadfocaccia-qemu-6d65516f774c62a1abde3e52b689ac743b9ccc71.tar.gz
focaccia-qemu-6d65516f774c62a1abde3e52b689ac743b9ccc71.zip
w32: Fix compilation (wrong include file)
arpa/inet.h is not available for w32, so commit
edbb21363fbfe40e050f583df921484cbc31c79d breaks
w32 compilations.

This is fixed by using qemu_socket.h.

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Reviewed-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
-rw-r--r--hw/ccid-card-passthru.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/ccid-card-passthru.c b/hw/ccid-card-passthru.c
index 8506fed4fc..28eb9d18f8 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"