diff options
author | Andrey Nazarov <skuller@skuller.net> | 2010-08-02 15:07:41 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2010-08-02 15:07:41 +0000 |
commit | 9bcc513cd43c78dee3c32446f353aaa0668c2180 (patch) | |
tree | 9617fbee93f86f629880ac300c8c1d283e7b3f36 /source/io_sleep.c | |
parent | 5c73f165141b30d93309d25e1324bc0170eb4da5 (diff) |
Made client and server buildable with mingw32 again.
Use uint64_t type for network counters.
Diffstat (limited to 'source/io_sleep.c')
-rw-r--r-- | source/io_sleep.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/io_sleep.c b/source/io_sleep.c index 00e5144..79f3a4b 100644 --- a/source/io_sleep.c +++ b/source/io_sleep.c @@ -22,7 +22,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "sys_public.h" #include "io_sleep.h" #ifdef _WIN32 -#error not yet implemented +#define WIN32_LEAN_AND_MEAN +#include <windows.h> +#include <winsock2.h> #else #include <sys/select.h> #include <sys/time.h> |