From: Yaakov Selkowitz <[email protected]>

Per POSIX, struct timeval is defined in <sys/time.h>.  Compilation on Cygwin
explicitely requires this #include.

Signed-off-by: Yaakov Selkowitz <[email protected]>
---
 src/xcb_io.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/xcb_io.c b/src/xcb_io.c
index 4f0159c..7292b37 100644
--- a/src/xcb_io.c
+++ b/src/xcb_io.c
@@ -12,6 +12,7 @@
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
+#include <sys/time.h>
 
 static void return_socket(void *closure)
 {
-- 
1.6.4.2

_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to