summaryrefslogtreecommitdiff
path: root/src/or/dir_connection_st.h
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/dir_connection_st.h
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/dir_connection_st.h')
-rw-r--r--src/or/dir_connection_st.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/dir_connection_st.h b/src/or/dir_connection_st.h
index f68266ca2e..1282f82d64 100644
--- a/src/or/dir_connection_st.h
+++ b/src/or/dir_connection_st.h
@@ -9,6 +9,8 @@
#include "or/connection_st.h"
+struct tor_compress_state_t;
+
/** Subtype of connection_t for an "directory connection" -- that is, an HTTP
* connection to retrieve or serve directory material. */
struct dir_connection_t {
@@ -31,7 +33,7 @@ struct dir_connection_t {
* it from back to front. */
smartlist_t *spool;
/** The compression object doing on-the-fly compression for spooled data. */
- tor_compress_state_t *compress_state;
+ struct tor_compress_state_t *compress_state;
/** What rendezvous service are we querying for? */
rend_data_t *rend_data;
@@ -63,4 +65,3 @@ struct dir_connection_t {
};
#endif
-