diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-07-28 19:41:39 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-07-28 19:41:39 +0000 |
commit | 5b5b880be7452eaf42d401f3ad54474ae60a9dbf (patch) | |
tree | efbb466328dea7f1b838c72e450954558a5ed1d5 /log.c | |
parent | 12199fa7a51ee93479fa0db30c2f7b9c8159bb94 (diff) | |
download | libevent-5b5b880be7452eaf42d401f3ad54474ae60a9dbf.tar.gz |
Various MSVC cleanups from Brodie Thiesfield.
svn:r1385
Diffstat (limited to 'log.c')
-rw-r--r-- | log.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -42,6 +42,7 @@ #endif #ifdef WIN32 +#include <winsock2.h> #define WIN32_LEAN_AND_MEAN #include <windows.h> #undef WIN32_LEAN_AND_MEAN @@ -49,7 +50,7 @@ #include <sys/types.h> #ifdef _EVENT_HAVE_SYS_TIME_H #include <sys/time.h> -#else +#elif !defined(WIN32) #include <sys/_time.h> #endif #include <stdio.h> |