summaryrefslogtreecommitdiff
path: root/src/or/hibernate.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-01 14:51:53 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-01 15:20:37 -0400
commit986d761510c4e5070cbdf8879f49342b7b1350c1 (patch)
tree2b40082f59143936dd749374ed9caa0f85edd57d /src/or/hibernate.c
parentf75357ec355e4e716321417e562526ce77f4f931 (diff)
downloadtor-986d761510c4e5070cbdf8879f49342b7b1350c1.tar.gz
tor-986d761510c4e5070cbdf8879f49342b7b1350c1.zip
Extract or_state_t to its own header.
Fewer modules needed this than I had expected.
Diffstat (limited to 'src/or/hibernate.c')
-rw-r--r--src/or/hibernate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/hibernate.c b/src/or/hibernate.c
index 2c43e0f997..f98ada02d6 100644
--- a/src/or/hibernate.c
+++ b/src/or/hibernate.c
@@ -44,6 +44,7 @@ hibernating, phase 2:
#include "common/compat_libevent.h"
#include "or/or_connection_st.h"
+#include "or/or_state_st.h"
/** Are we currently awake, asleep, running out of bandwidth, or shutting
* down? */