[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [5140] hw/pcnet.c: windows compile fix
From: |
Johannes Schindelin |
Subject: |
Re: [Qemu-devel] [5140] hw/pcnet.c: windows compile fix |
Date: |
Wed, 3 Sep 2008 12:19:00 +0200 (CEST) |
User-agent: |
Alpine 1.00 (DEB 882 2007-12-20) |
Hi,
On Tue, 2 Sep 2008, Aurelien Jarno wrote:
> Log Message:
> -----------
> hw/pcnet.c: windows compile fix
>
> (Eduardo Felipe)
>
> Modified Paths:
> --------------
> trunk/hw/pcnet.c
>
> Modified: trunk/hw/pcnet.c
> ===================================================================
> --- trunk/hw/pcnet.c 2008-09-02 17:39:45 UTC (rev 5139)
> +++ trunk/hw/pcnet.c 2008-09-02 23:26:13 UTC (rev 5140)
> @@ -35,7 +35,11 @@
> *
> http://www.ibiblio.org/pub/historic-linux/early-ports/Sparc/NCR/NCR92C990.txt
> */
>
> +#ifdef _WIN32
> +#include <winsock2.h>
> +#else
> #include <netinet/in.h>
> +#endif
Was the idea not to use the header file "qemu_socket.h" instead?
Just for future reference,
Dscho