From 2a0a42715e9e94441f7503e45d0f26c92ed239d9 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Mon, 15 Feb 2010 06:24:06 +0500 Subject: luaevent.h: sys/time.h is not available with MSVC, use winsock2.h on windows. --- include/luaevent.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/luaevent.h b/include/luaevent.h index ef3386b..e419998 100644 --- a/include/luaevent.h +++ b/include/luaevent.h @@ -5,7 +5,11 @@ #include #include +#ifdef _WIN32 +#include +#else #include +#endif #include typedef struct { -- cgit v1.2.3