aboutsummaryrefslogtreecommitdiff
path: root/src/lib/evloop
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-10-10 11:26:38 -0400
committerNick Mathewson <nickm@torproject.org>2018-10-10 11:26:38 -0400
commitd3d6c595571301ac75f15e4669c567929f785051 (patch)
tree5afa6f295465d7a25cbe625b6b4984113020e178 /src/lib/evloop
parentda86a70bd8ea6c468ac7e27a53245bbeb9d28b58 (diff)
downloadtor-d3d6c595571301ac75f15e4669c567929f785051.tar.gz
tor-d3d6c595571301ac75f15e4669c567929f785051.zip
Add sys/time.h include back to procmon.c
Diffstat (limited to 'src/lib/evloop')
-rw-r--r--src/lib/evloop/procmon.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/evloop/procmon.c b/src/lib/evloop/procmon.c
index e0c26caab2..02e167377f 100644
--- a/src/lib/evloop/procmon.c
+++ b/src/lib/evloop/procmon.c
@@ -20,6 +20,9 @@
#ifdef HAVE_ERRNO_H
#include <errno.h>
#endif
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
#ifdef _WIN32
#include <winsock2.h>