qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Weil <weil@mail.berlios.de>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 3/3] osdep: Remove conditional compilation (fixes w32 compilation)
Date: Sun, 27 Feb 2011 18:52:22 +0100	[thread overview]
Message-ID: <1298829142-5550-3-git-send-email-weil@mail.berlios.de> (raw)
In-Reply-To: <1298829142-5550-1-git-send-email-weil@mail.berlios.de>

sys/time.h also exists for MinGW, and it is needed because
it declares struct timeval (needed by latest vnc code).

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
---
 osdep.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/osdep.h b/osdep.h
index 27eedcf..5a667b4 100644
--- a/osdep.h
+++ b/osdep.h
@@ -8,9 +8,7 @@
 #include <sys/signal.h>
 #endif
 
-#ifndef _WIN32
 #include <sys/time.h>
-#endif
 
 #ifndef glue
 #define xglue(x, y) x ## y
-- 
1.7.2.3

      parent reply	other threads:[~2011-02-27 17:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-27 17:52 [Qemu-devel] [PATCH 1/3] w32: Add new directory hierarchy for MinGW extensions Stefan Weil
2011-02-27 17:52 ` [Qemu-devel] [PATCH 2/3] w32: Add macro timersub to sys/time.h Stefan Weil
2011-03-05  9:34   ` Blue Swirl
2011-03-05  9:42     ` Peter Maydell
2011-03-05  9:48       ` Blue Swirl
2011-03-05  9:55         ` Peter Maydell
2011-03-05 10:31           ` Blue Swirl
2011-03-06 22:15     ` Stefan Weil
2011-02-27 17:52 ` Stefan Weil [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1298829142-5550-3-git-send-email-weil@mail.berlios.de \
    --to=weil@mail.berlios.de \
    --cc=aliguori@us.ibm.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).