浏览代码

Include parse_to.h explicitly where needed.

Since msg_parser.h does not include parse_to.h after a recent change,
we need to include parse_to.h in all files that access data structures
and parsers from the to parser and only included msg_parser.h
previously.
Jan Janak 16 年之前
父节点
当前提交
9504e6bd77
共有 3 个文件被更改,包括 3 次插入0 次删除
  1. 1 0
      modules/tm/sip_msg.c
  2. 1 0
      modules/tm/t_msgbuilder.c
  3. 1 0
      modules/tm/t_reply.c

+ 1 - 0
modules/tm/sip_msg.c

@@ -65,6 +65,7 @@
 #include "../../data_lump_rpl.h"
 #include "../../ut.h"
 #include "../../parser/digest/digest.h"
+#include "../../parser/parse_to.h"
 
 #ifdef POSTPONE_MSG_CLONING
 #include "../../atomic_ops.h"

+ 1 - 0
modules/tm/t_msgbuilder.c

@@ -60,6 +60,7 @@
 #include "../../dprint.h"
 #include "../../config.h"
 #include "../../parser/parser_f.h"
+#include "../../parser/parse_to.h"
 #include "../../ut.h"
 #include "../../parser/msg_parser.h"
 #include "../../parser/contact/parse_contact.h"

+ 1 - 0
modules/tm/t_reply.c

@@ -101,6 +101,7 @@
 #include "../../dprint.h"
 #include "../../config.h"
 #include "../../parser/parser_f.h"
+#include "../../parser/parse_to.h"
 #include "../../ut.h"
 #include "../../timer.h"
 #include "../../error.h"