diff options
-rw-r--r-- | src/lib/time/tvdiff.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/time/tvdiff.c b/src/lib/time/tvdiff.c index 11c881234a..9fb67bcd2d 100644 --- a/src/lib/time/tvdiff.c +++ b/src/lib/time/tvdiff.c @@ -8,6 +8,10 @@ #include "lib/cc/compat_compiler.h" #include "lib/log/torlog.h" +#ifdef _WIN32 +#include <winsock2.h> +#endif + #define TOR_USEC_PER_SEC 1000000 /** Return the difference between start->tv_sec and end->tv_sec. |