summaryrefslogtreecommitdiff
path: root/src/or/periodic.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-01 11:32:11 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-01 15:20:37 -0400
commit471104eaa5e7fbe1b5a32b8be388daae328abd4a (patch)
tree65ff6d32af5b8713009db5b067fb3bd5fddeb076 /src/or/periodic.c
parent7a61a92870df84c37bacd9d065e0c8df2b938d37 (diff)
downloadtor-471104eaa5e7fbe1b5a32b8be388daae328abd4a.tar.gz
tor-471104eaa5e7fbe1b5a32b8be388daae328abd4a.zip
Remove needless includes from or.h
or.h should really include only the minimum of stuff from or/*, common/*, and lib/*.
Diffstat (limited to 'src/or/periodic.c')
-rw-r--r--src/or/periodic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/periodic.c b/src/or/periodic.c
index d379325f50..0cbf359b2e 100644
--- a/src/or/periodic.c
+++ b/src/or/periodic.c
@@ -16,6 +16,7 @@
#include "or/config.h"
#include "or/main.h"
#include "or/periodic.h"
+#include "common/compat_libevent.h"
/** We disable any interval greater than this number of seconds, on the
* grounds that it is probably an absolute time mistakenly passed in as a
@@ -169,4 +170,3 @@ periodic_event_disable(periodic_event_item_t *event)
mainloop_event_cancel(event->ev);
event->enabled = 0;
}
-