summaryrefslogtreecommitdiff
path: root/src/or/hibernate.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/hibernate.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/hibernate.c')
-rw-r--r--src/or/hibernate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/hibernate.c b/src/or/hibernate.c
index 12264f758f..2c43e0f997 100644
--- a/src/or/hibernate.c
+++ b/src/or/hibernate.c
@@ -41,6 +41,7 @@ hibernating, phase 2:
#include "or/main.h"
#include "or/router.h"
#include "or/statefile.h"
+#include "common/compat_libevent.h"
#include "or/or_connection_st.h"
@@ -1227,4 +1228,3 @@ hibernate_set_state_for_testing_(hibernate_state_t newstate)
hibernate_state = newstate;
}
#endif /* defined(TOR_UNIT_TESTS) */
-