diff options
-rw-r--r-- | Changes | 5 | ||||
-rw-r--r-- | ev.c | 1 | ||||
-rw-r--r-- | ev.h | 5 |
3 files changed, 11 insertions, 0 deletions
@@ -1,5 +1,10 @@ Revision history for libev, a high-performance and full-featured event loop. + - include more include files on windows to get struct _stati64 + (reported by Chris Hulbert). + - add missing #include <io.h> in ev.c on windows (reported by + Matt Tolton). + 3.42 Tue Jun 17 12:12:07 CEST 2008 - work around yet another windows bug: FD_SET actually adds fd's multiple times to the fd_*SET*, despite official MSN docs claiming @@ -156,6 +156,7 @@ extern "C" { # include <sys/wait.h> # include <unistd.h> #else +# include <io.h> # define WIN32_LEAN_AND_MEAN # include <windows.h> # ifndef EV_SELECT_IS_WINSOCKET @@ -90,6 +90,11 @@ typedef double ev_tstamp; /*****************************************************************************/ #if EV_STAT_ENABLE +# ifdef _WIN32 +# include <time.h> +# include <sys/types.h> +# include <stdio.h> +# endif # include <sys/stat.h> #endif |