Patchwork [3/3] osdep: Remove conditional compilation (fixes w32 compilation)

login
register
mail settings
Submitter Stefan Weil
Date Feb. 27, 2011, 5:52 p.m.
Message ID <1298829142-5550-3-git-send-email-weil@mail.berlios.de>
Download mbox | patch
Permalink /patch/84694/
State New
Headers show

Comments

Stefan Weil - Feb. 27, 2011, 5:52 p.m.
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(-)

Patch

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