From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jwwyb-0006Se-Sv for qemu-devel@nongnu.org; Fri, 16 May 2008 06:15:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jwwya-0006Oy-6I for qemu-devel@nongnu.org; Fri, 16 May 2008 06:15:48 -0400 Received: from [199.232.76.173] (port=48858 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jwwya-0006OI-0e for qemu-devel@nongnu.org; Fri, 16 May 2008 06:15:48 -0400 Received: from wa-out-1112.google.com ([209.85.146.183]:20876) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JwwyZ-0000Pu-TE for qemu-devel@nongnu.org; Fri, 16 May 2008 06:15:48 -0400 Received: by wa-out-1112.google.com with SMTP id j5so142606wah.18 for ; Fri, 16 May 2008 03:15:46 -0700 (PDT) Message-ID: <83a4d4ca0805160315i49c04b7dmd056bb39659ba4d2@mail.gmail.com> Date: Fri, 16 May 2008 12:15:46 +0200 From: "Eduardo Felipe" Subject: Re: [Qemu-devel] Re: [PATCH] Windows compile errors In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: 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 2008/5/16 Alex : > > > AFAIR sleep() takes seconds, while Sleep() takes milliseconds as an > > argument. > > > > You are right. Perhaps this is a better patch: > > Index: slirp/slirp.h > =================================================================== > --- slirp/slirp.h (revision 4462) > +++ slirp/slirp.h (working copy) > @@ -28,6 +28,7 @@ > typedef uint32_t u_int32_t; > typedef uint64_t u_int64_t; > typedef char *caddr_t; > +typedef int socklen_t; > > #define WIN32_LEAN_AND_MEAN > # include There's no need to explicitly typedef socklen_t, it is already done in ws2tcpip.h: --- slirp/slirp.h Mon May 12 19:44:40 2008 +++ slirp/slirp.h Mon May 12 19:44:05 2008 @@ -32,6 +32,7 @@ #define WIN32_LEAN_AND_MEAN # include # include +# include # include # include Regards, Edu