commit 326c473b793d6dfa5fcdb3dbd5a73e5f0d502d54 Author: Nick Mathewson nickm@torproject.org Date: Thu Jun 28 13:39:09 2018 -0400
fixup! Extract time functionality into lib/wallclock and lib/time --- src/lib/time/tvdiff.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/src/lib/time/tvdiff.c b/src/lib/time/tvdiff.c index 11c881234..9fb67bcd2 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.
tor-commits@lists.torproject.org