[PATCH 2/3] Fix Cygwin compile of xcb_io.c
Yaakov (Cygwin/X)
yselkowitz at users.sourceforge.net
Tue Oct 13 17:15:50 PDT 2009
From: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>
Per POSIX, struct timeval is defined in <sys/time.h>. Compilation on Cygwin
explicitely requires this #include.
Signed-off-by: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>
---
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
More information about the xorg-devel
mailing list