aboutsummaryrefslogtreecommitdiff
path: root/src/lib/evloop
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-12-16 13:11:06 -0500
committerNick Mathewson <nickm@torproject.org>2020-01-09 07:30:35 -0500
commitdd5dda78f66c6ab6708cbac898c9f6a2d21162ef (patch)
tree6ccbc290f23615840c3f092b5ccd9db0d0a36966 /src/lib/evloop
parent25354171b598653d5d6cb9cd80ea78d891144156 (diff)
downloadtor-dd5dda78f66c6ab6708cbac898c9f6a2d21162ef.tar.gz
tor-dd5dda78f66c6ab6708cbac898c9f6a2d21162ef.zip
timers.h: add declaration for timeval.
This frees us from some dependencies on include order.
Diffstat (limited to 'src/lib/evloop')
-rw-r--r--src/lib/evloop/timers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evloop/timers.h b/src/lib/evloop/timers.h
index 7595554204..f317d0ad0e 100644
--- a/src/lib/evloop/timers.h
+++ b/src/lib/evloop/timers.h
@@ -13,6 +13,7 @@
#include "lib/testsupport/testsupport.h"
struct monotime_t;
+struct timeval;
typedef struct timeout tor_timer_t;
typedef void (*timer_cb_fn_t)(tor_timer_t *, void *,
const struct monotime_t *);