From: Nick Mathewson Date: Fri, 29 Jun 2018 16:59:43 +0000 (-0400) Subject: Add a missing include to timers, to make windows happier X-Git-Tag: tor-0.3.5.1-alpha~288 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9d5b815dcabc7344f4e0613246d061064f6d1bd1;p=thirdparty%2Ftor.git Add a missing include to timers, to make windows happier --- diff --git a/src/common/timers.c b/src/common/timers.c index 57b7d7265d..ff92a2e447 100644 --- 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 +#endif + struct timeout_cb { timer_cb_fn_t cb; void *arg;