]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
routerparse.h: include parsecommon.h when exposing token table.
authorNick Mathewson <nickm@torproject.org>
Mon, 16 Dec 2019 18:13:13 +0000 (13:13 -0500)
committerNick Mathewson <nickm@torproject.org>
Thu, 9 Jan 2020 12:30:35 +0000 (07:30 -0500)
Without this include, our compilation depends more on include order.

src/feature/dirparse/routerparse.h

index f9a13f216848ff8f5594c6da4fbce350136e70c2..cedbfbf3328af48f18358f18d8f3f5a073741113 100644 (file)
@@ -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