summaryrefslogtreecommitdiff
path: root/src/or/dir_connection_st.h
diff options
context:
space:
mode:
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
-