tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 9d5b815dcabc7344f4e0613246d061064f6d1bd1
parent 6ac64e16ed6958d1a5960c560254217478b7ad87
Author: Nick Mathewson <nickm@torproject.org>
Date:   Fri, 29 Jun 2018 12:59:43 -0400

Add a missing include to timers, to make windows happier

Diffstat:
Msrc/common/timers.c | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/common/timers.c b/src/common/timers.c @@ -39,6 +39,11 @@ #include "lib/malloc/util_malloc.h" #include "lib/time/compat_time.h" +#ifdef _WIN32 +// For struct timeval. +#include <winsock2.h> +#endif + struct timeout_cb { timer_cb_fn_t cb; void *arg;