diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-28 13:39:09 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-28 13:39:09 -0400 |
commit | 326c473b793d6dfa5fcdb3dbd5a73e5f0d502d54 (patch) | |
tree | 4301924864f109cbb284ab41b8b932180a49b347 | |
parent | 02bb701bba5fb6b5eb6ce5716b8fff9fd2c5e028 (diff) | |
download | tor-326c473b793d6dfa5fcdb3dbd5a73e5f0d502d54.tar.gz tor-326c473b793d6dfa5fcdb3dbd5a73e5f0d502d54.zip |
fixup! Extract time functionality into lib/wallclock and lib/time
-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. |