aboutsummaryrefslogtreecommitdiff
path: root/src/feature/dirauth/keypin.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-12-16 13:17:11 -0500
committerNick Mathewson <nickm@torproject.org>2020-01-09 07:30:35 -0500
commit2f7a2c42d2dcc36f8d6b58aff67f6a7d388f81ed (patch)
treef39067bc6421cddc1643188e572dc86b728ca323 /src/feature/dirauth/keypin.h
parentafa36682f959d12da1d6369b38d5d960f345c09a (diff)
downloadtor-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/dirauth/keypin.h')
-rw-r--r--src/feature/dirauth/keypin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/feature/dirauth/keypin.h b/src/feature/dirauth/keypin.h
index d77f6fc5f3..0042cfafc0 100644
--- a/src/feature/dirauth/keypin.h
+++ b/src/feature/dirauth/keypin.h
@@ -45,6 +45,8 @@ int keypin_check_lone_rsa(const uint8_t *rsa_id_digest);
#ifdef KEYPIN_PRIVATE
+#include "ext/ht.h"
+
/**
* In-memory representation of a key-pinning table entry.
*/