Am 06.03.2011 15:24, schrieb Roy Tam:
Hi,
2011/3/6 Herve Poussineau<[email protected]>:
FYI:
[PATCH 1/3] w32: Add new directory hierarchy for MinGW extensions
http://www.mail-archive.com/[email protected]/msg56858.html
[PATCH 2/3] w32: Add macro timersub to sys/time.h
http://www.mail-archive.com/[email protected]/msg56859.html
[PATCH 3/3] osdep: Remove conditional compilation (fixes w32 compilation)
http://www.mail-archive.com/[email protected]/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<[email protected]>
Signed-off-by: Hervé Poussineau<[email protected]>
---
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