[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] fixup! Extract time functionality into lib/wallclock and lib/time



commit 326c473b793d6dfa5fcdb3dbd5a73e5f0d502d54
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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 mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits