From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=35088 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwJZW-00014h-Ph for qemu-devel@nongnu.org; Sun, 06 Mar 2011 14:24:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwJZS-0006kZ-FU for qemu-devel@nongnu.org; Sun, 06 Mar 2011 14:24:51 -0500 Received: from moutng.kundenserver.de ([212.227.126.171]:54358) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwJZS-0006kQ-38 for qemu-devel@nongnu.org; Sun, 06 Mar 2011 14:24:50 -0500 Message-ID: <4D73DF7C.2060903@mail.berlios.de> Date: Sun, 06 Mar 2011 20:24:44 +0100 From: Stefan Weil MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] WIN32: Add missing include for 'struct timeval', used in vnc.h References: <1299417793-1720-1-git-send-email-hpoussin@reactos.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: Herve Poussineau , qemu-devel@nongnu.org, Roy Tam Am 06.03.2011 15:24, schrieb Roy Tam: > Hi, > > 2011/3/6 Herve Poussineau: > > FYI: > [PATCH 1/3] w32: Add new directory hierarchy for MinGW extensions > http://www.mail-archive.com/qemu-devel@nongnu.org/msg56858.html > [PATCH 2/3] w32: Add macro timersub to sys/time.h > http://www.mail-archive.com/qemu-devel@nongnu.org/msg56859.html > [PATCH 3/3] osdep: Remove conditional compilation (fixes w32 compilation) > http://www.mail-archive.com/qemu-devel@nongnu.org/msg56860.html Yes, this patch series also addresses the same problem (and one more) in a better way: it did not add code, but removed a conditional compilation. (my first try was identical to Herve's patch). Stefan >> From: Hervé Poussineau >> >> >> Signed-off-by: Hervé Poussineau >> --- >> qemu-common.h | 1 + >> 1 files changed, 1 insertions(+), 0 deletions(-) >> >> diff --git a/qemu-common.h b/qemu-common.h >> index 40dad52..18e648f 100644 >> --- a/qemu-common.h >> +++ b/qemu-common.h >> @@ -33,6 +33,7 @@ typedef struct DeviceState DeviceState; >> #include >> #include >> #include >> +#include >> #include >> >> #ifndef O_LARGEFILE >> -- >> 1.6.0.2.GIT >> >> >>