[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH] w32: Fix compilation (wrong include file)
From: |
Alon Levy |
Subject: |
[Qemu-devel] Re: [PATCH] w32: Fix compilation (wrong include file) |
Date: |
Sun, 3 Apr 2011 10:39:15 +0300 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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.
>
Thanks, missed that.
Reviewed-by: Alon Levy <address@hidden>
> 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
>