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/relay/dns_structs.h | |
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/relay/dns_structs.h')
-rw-r--r-- | src/feature/relay/dns_structs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/feature/relay/dns_structs.h b/src/feature/relay/dns_structs.h index e128746f81..6263c4cebf 100644 --- a/src/feature/relay/dns_structs.h +++ b/src/feature/relay/dns_structs.h @@ -13,6 +13,8 @@ #ifndef TOR_DNS_STRUCTS_H #define TOR_DNS_STRUCTS_H +#include "ext/ht.h" + /** Longest hostname we're willing to resolve. */ #define MAX_ADDRESSLEN 256 @@ -99,4 +101,3 @@ typedef struct cached_resolve_t { } cached_resolve_t; #endif /* !defined(TOR_DNS_STRUCTS_H) */ - |