Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kb6Za-0002hp-4C for qemu-devel@nongnu.org; Thu, 04 Sep 2008 00:35:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kb6ZZ-0002hM-BF for qemu-devel@nongnu.org; Thu, 04 Sep 2008 00:35:57 -0400 Received: from [199.232.76.173] (port=41542 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kb6ZZ-0002hF-2d for qemu-devel@nongnu.org; Thu, 04 Sep 2008 00:35:57 -0400 Received: from hall.aurel32.net ([91.121.138.14]:40621) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kb6ZZ-0005vL-10 for qemu-devel@nongnu.org; Thu, 04 Sep 2008 00:35:57 -0400 Received: from 151.red-80-38-163.staticip.rima-tde.net ([80.38.163.151] helo=volta.aurel32.net) by hall.aurel32.net with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1Kb6ZW-0003JX-Pe for qemu-devel@nongnu.org; Thu, 04 Sep 2008 06:35:55 +0200 Received: from aurel32 by volta.aurel32.net with local (Exim 4.69) (envelope-from ) id 1Kb6ZQ-0002XN-G7 for qemu-devel@nongnu.org; Thu, 04 Sep 2008 06:35:48 +0200 Date: Thu, 4 Sep 2008 06:35:48 +0200 From: Aurelien Jarno Subject: Re: [Qemu-devel] Re: [5140] hw/pcnet.c: windows compile fix Message-ID: <20080904043548.GB3416@volta.aurel32.net> References: <48BE7206.4090402@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <48BE7206.4090402@siemens.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Wed, Sep 03, 2008 at 01:16:22PM +0200, Jan Kiszka wrote: > Johannes Schindelin wrote: > > 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 > >> +#else > >> #include > >> +#endif > > > > Was the idea not to use the header file "qemu_socket.h" instead? > > Sounds reasonable to me. Applied, thanks. > Jan > > Index: qemu/hw/pcnet.c > =================================================================== > --- qemu/hw/pcnet.c (Revision 5144) > +++ qemu/hw/pcnet.c (Arbeitskopie) > @@ -35,16 +35,11 @@ > * http://www.ibiblio.org/pub/historic-linux/early-ports/Sparc/NCR/NCR92C990.txt > */ > > -#ifdef _WIN32 > -#include > -#else > -#include > -#endif > - > #include "hw.h" > #include "pci.h" > #include "net.h" > #include "qemu-timer.h" > +#include "qemu_socket.h" > > //#define PCNET_DEBUG > //#define PCNET_DEBUG_IO > -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net