[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] w32: Fix compilation (wrong include file)
From: |
Aurelien Jarno |
Subject: |
Re: [Qemu-devel] [PATCH] w32: Fix compilation (wrong include file) |
Date: |
Mon, 4 Apr 2011 00:30:06 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Sun, Apr 03, 2011 at 08:55:35AM +0200, Stefan Weil wrote:
> 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(-)
Thanks, applied.
> 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
>
>
>
--
Aurelien Jarno GPG: 1024D/F1BCDB73
address@hidden http://www.aurel32.net