[SR-Dev] git:master: Include parse_to.h explicitly where needed.

Jan Janak jan at iptel.org
Fri Mar 6 15:22:43 CET 2009


Module: sip-router
Branch: master
Commit: 9504e6bd77e2a1ce44df2efd3895df618a558710
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9504e6bd77e2a1ce44df2efd3895df618a558710

Author: Jan Janak <jan at iptel.org>
Committer: Jan Janak <jan at iptel.org>
Date:   Thu Mar  5 23:51:40 2009 +0100

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.

---

 modules/tm/sip_msg.c      |    1 +
 modules/tm/t_msgbuilder.c |    1 +
 modules/tm/t_reply.c      |    1 +
 3 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/tm/sip_msg.c b/modules/tm/sip_msg.c
index 561ae96..82f4433 100644
--- a/modules/tm/sip_msg.c
+++ b/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"
diff --git a/modules/tm/t_msgbuilder.c b/modules/tm/t_msgbuilder.c
index 44c5148..6c8fc70 100644
--- a/modules/tm/t_msgbuilder.c
+++ b/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"
diff --git a/modules/tm/t_reply.c b/modules/tm/t_reply.c
index cdcd029..c946f10 100644
--- a/modules/tm/t_reply.c
+++ b/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"




More information about the sr-dev mailing list