w32: Fix compilation (wrong include file)
PATCH 1/1 w32: Fix compilation (wrong include file)
arpa/inet.h is not available for w32, so commitedbb21363fbfe40e050f583df921484cbc31c79d breaks
w32 compilations.
This is fixed by using qemu_socket.h.
Cc Alon Levy <[email protected]>
Signed-off-by Stefan Weil <[email protected]>
--- hw/ccid-card-passthru.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
hw/ccid-card-passthru.c +1 -2
@@ -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"
Signature · 1 line
1.7.0.4
Quoted 6 lines · Stefan Weil
arpa/inet.his not available for w32, so commitedbb21363fbfe40e050f583df921484cbc31c79dbreaks
w32 compilations.This is fixed by using
qemu_socket.h.
Thanks, missed that.
Reviewed-by Alon Levy <[email protected]>
Quoted 24 lines
Cc Alon Levy <[email protected]>Signed-off-by Stefan Weil <[email protected]>--- hw/ccid-card-passthru.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)hw/ccid-card-passthru.c +1
-2@@ -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" Signature · 1 line
1.7.0.4
Aurelien Jarno
AppliedQuoted 11 lines · Stefan Weil
arpa/inet.his not available for w32, so commitedbb21363fbfe40e050f583df921484cbc31c79dbreaks
w32 compilations.This is fixed by using
qemu_socket.h.Cc Alon Levy <[email protected]>Signed-off-by Stefan Weil <[email protected]>--- hw/ccid-card-passthru.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
Thanks, applied.
Quoted 20 lines
hw/ccid-card-passthru.c +1
-2@@ -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" Signature · 1 line
1.7.0.4
Signature · 2 lines
Aurelien Jarno GPG: 1024D/F1BCDB73 [email protected] http://www.aurel32.net