From: Nick Mathewson Date: Mon, 16 Dec 2019 18:13:13 +0000 (-0500) Subject: routerparse.h: include parsecommon.h when exposing token table. X-Git-Tag: tor-0.4.3.1-alpha~40^2~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=887bf05c24ab0642a2bf8b77990cc2b8a6dce533;p=thirdparty%2Ftor.git routerparse.h: include parsecommon.h when exposing token table. Without this include, our compilation depends more on include order. --- 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