aboutsummaryrefslogtreecommitdiff
path: root/src/lib/evloop
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-11-06 15:17:52 -0500
committerNick Mathewson <nickm@torproject.org>2018-11-06 15:17:52 -0500
commitbcba6a4918b43863d2ac70833aff6128231d5f22 (patch)
treef428c192fdaa999fc98708980b8b3af41486c463 /src/lib/evloop
parent17d8ccefc0f27b0c57e501acb4f4a1a379139953 (diff)
parent67abf55d6b2d2c10a1e666e0295d40890935f304 (diff)
downloadtor-bcba6a4918b43863d2ac70833aff6128231d5f22.tar.gz
tor-bcba6a4918b43863d2ac70833aff6128231d5f22.zip
Merge branch 'maint-0.3.5'
Diffstat (limited to 'src/lib/evloop')
-rw-r--r--src/lib/evloop/timers.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/evloop/timers.c b/src/lib/evloop/timers.c
index c4e85c7c93..3603bf1a7d 100644
--- a/src/lib/evloop/timers.c
+++ b/src/lib/evloop/timers.c
@@ -39,6 +39,10 @@
#include "lib/malloc/malloc.h"
#include "lib/time/compat_time.h"
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
+
#ifdef _WIN32
// For struct timeval.
#include <winsock2.h>