|
From: | Stefan Weil |
Subject: | Re: [Qemu-devel] [PATCH] WIN32: Add missing include for 'struct timeval', used in vnc.h |
Date: | Sun, 06 Mar 2011 20:24:44 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 |
Am 06.03.2011 15:24, schrieb Roy Tam:
Hi, 2011/3/6 Herve Poussineau<address@hidden>: FYI: [PATCH 1/3] w32: Add new directory hierarchy for MinGW extensions http://www.mail-archive.com/address@hidden/msg56858.html [PATCH 2/3] w32: Add macro timersub to sys/time.h http://www.mail-archive.com/address@hidden/msg56859.html [PATCH 3/3] osdep: Remove conditional compilation (fixes w32 compilation) http://www.mail-archive.com/address@hidden/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<address@hidden> Signed-off-by: Hervé Poussineau<address@hidden> --- 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<unistd.h> #include<fcntl.h> #include<sys/stat.h> +#include<sys/time.h> #include<assert.h> #ifndef O_LARGEFILE -- 1.6.0.2.GIT
[Prev in Thread] | Current Thread | [Next in Thread] |