Skip to content

Commit

Permalink
routerparse.h: include parsecommon.h when exposing token table.
Browse files Browse the repository at this point in the history
Without this include, our compilation depends more on include order.
  • Loading branch information
nmathewson committed Jan 9, 2020
1 parent 774d109 commit 887bf05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/feature/dirparse/routerparse.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 887bf05

Please sign in to comment.