提交 25f2fc81 authored 作者: Michael Jerris's avatar Michael Jerris

only include switch_stun.h where needed. We use some c99isms in this header…

only include switch_stun.h where needed.  We use some c99isms in this header that do not get along well with some c++ compilers.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5411 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 e028f269
...@@ -99,7 +99,6 @@ ...@@ -99,7 +99,6 @@
#include <switch_resample.h> #include <switch_resample.h>
#include <switch_ivr.h> #include <switch_ivr.h>
#include <switch_rtp.h> #include <switch_rtp.h>
#include <switch_stun.h>
#include <switch_log.h> #include <switch_log.h>
#include <switch_xml.h> #include <switch_xml.h>
#include <switch_core_event_hook.h> #include <switch_core_event_hook.h>
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
* *
*/ */
#include <switch.h> #include <switch.h>
#include <switch_stun.h>
#include <libdingaling.h> #include <libdingaling.h>
#ifdef SWITCH_HAVE_ODBC #ifdef SWITCH_HAVE_ODBC
#include <switch_odbc.h> #include <switch_odbc.h>
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
* *
*/ */
#include "mod_sofia.h" #include "mod_sofia.h"
#include <switch_stun.h>
switch_status_t sofia_glue_tech_choose_video_port(private_object_t *tech_pvt); switch_status_t sofia_glue_tech_choose_video_port(private_object_t *tech_pvt);
switch_status_t sofia_glue_tech_set_video_codec(private_object_t *tech_pvt, int force); switch_status_t sofia_glue_tech_set_video_codec(private_object_t *tech_pvt, int force);
......
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
*/ */
#include <switch.h> #include <switch.h>
#include <switch_stun.h>
#undef PACKAGE_NAME #undef PACKAGE_NAME
#undef PACKAGE_STRING #undef PACKAGE_STRING
#undef PACKAGE_TARNAME #undef PACKAGE_TARNAME
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
* *
*/ */
#include <switch.h> #include <switch.h>
#include <switch_stun.h>
struct value_mapping { struct value_mapping {
const uint32_t value; const uint32_t value;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论