diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-12-16 13:17:11 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-01-09 07:30:35 -0500 |
commit | 2f7a2c42d2dcc36f8d6b58aff67f6a7d388f81ed (patch) | |
tree | f39067bc6421cddc1643188e572dc86b728ca323 /src/feature/nodelist | |
parent | afa36682f959d12da1d6369b38d5d960f345c09a (diff) | |
download | tor-2f7a2c42d2dcc36f8d6b58aff67f6a7d388f81ed.tar.gz tor-2f7a2c42d2dcc36f8d6b58aff67f6a7d388f81ed.zip |
Include ht.h in all headers that use HT_ENTRY()
Without this change, compilation success depends on include order in
several tricky ways.
Diffstat (limited to 'src/feature/nodelist')
-rw-r--r-- | src/feature/nodelist/microdesc_st.h | 2 | ||||
-rw-r--r-- | src/feature/nodelist/node_st.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/feature/nodelist/microdesc_st.h b/src/feature/nodelist/microdesc_st.h index 58b0630573..3828371b90 100644 --- a/src/feature/nodelist/microdesc_st.h +++ b/src/feature/nodelist/microdesc_st.h @@ -17,6 +17,8 @@ struct ed25519_public_key_t; struct nodefamily_t; struct short_policy_t; +#include "ext/ht.h" + /** A microdescriptor is the smallest amount of information needed to build a * circuit through a router. They are generated by the directory authorities, * using information from the uploaded routerinfo documents. They are not diff --git a/src/feature/nodelist/node_st.h b/src/feature/nodelist/node_st.h index 6ad10bb85a..aa4066d99e 100644 --- a/src/feature/nodelist/node_st.h +++ b/src/feature/nodelist/node_st.h @@ -14,6 +14,7 @@ #include "feature/hs/hsdir_index_st.h" #include "lib/crypt_ops/crypto_ed25519.h" +#include "ext/ht.h" /** A node_t represents a Tor router. * |