]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
fixup! Extract time functionality into lib/wallclock and lib/time
authorNick Mathewson <nickm@torproject.org>
Thu, 28 Jun 2018 17:39:09 +0000 (13:39 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 28 Jun 2018 17:39:09 +0000 (13:39 -0400)
src/lib/time/tvdiff.c

index 11c881234a57c7b7a77d82bce53a35da27cbb13f..9fb67bcd2da4f1129897d8940049a03491c10e42 100644 (file)
@@ -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.