aboutsummaryrefslogtreecommitdiff
path: root/src/feature/dirparse
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-12-16 13:13:13 -0500
committerNick Mathewson <nickm@torproject.org>2020-01-09 07:30:35 -0500
commit887bf05c24ab0642a2bf8b77990cc2b8a6dce533 (patch)
tree805112a374cf923895a7221c0c3d307314c4dc8c /src/feature/dirparse
parent774d1092fd08bf8d0fc0948a13c81c0b572d8b31 (diff)
downloadtor-887bf05c24ab0642a2bf8b77990cc2b8a6dce533.tar.gz
tor-887bf05c24ab0642a2bf8b77990cc2b8a6dce533.zip
routerparse.h: include parsecommon.h when exposing token table.
Without this include, our compilation depends more on include order.
Diffstat (limited to 'src/feature/dirparse')
-rw-r--r--src/feature/dirparse/routerparse.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/feature/dirparse/routerparse.h b/src/feature/dirparse/routerparse.h
index f9a13f2168..cedbfbf332 100644
--- a/src/feature/dirparse/routerparse.h
+++ b/src/feature/dirparse/routerparse.h
@@ -41,6 +41,7 @@ void routerparse_init(void);
void routerparse_free_all(void);
#ifdef EXPOSE_ROUTERDESC_TOKEN_TABLE
+#include "feature/dirparse/parsecommon.h"
extern const struct token_rule_t routerdesc_token_table[];
#endif