[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] routerparse.h: include parsecommon.h when exposing token table.
commit 887bf05c24ab0642a2bf8b77990cc2b8a6dce533
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Mon Dec 16 13:13:13 2019 -0500
routerparse.h: include parsecommon.h when exposing token table.
Without this include, our compilation depends more on include order.
---
src/feature/dirparse/routerparse.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/feature/dirparse/routerparse.h b/src/feature/dirparse/routerparse.h
index f9a13f216..cedbfbf33 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
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits