]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
only include switch_stun.h where needed. We use some c99isms in this header that...
authorMichael Jerris <mike@jerris.com>
Wed, 20 Jun 2007 09:02:30 +0000 (09:02 +0000)
committerMichael Jerris <mike@jerris.com>
Wed, 20 Jun 2007 09:02:30 +0000 (09:02 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5411 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/include/switch.h
src/mod/endpoints/mod_dingaling/mod_dingaling.c
src/mod/endpoints/mod_sofia/sofia_glue.c
src/switch_rtp.c
src/switch_stun.c

index d1323cb587703b9d94d41a4493709ff27a6edf56..5f56f24dbeadffb47bb2a7e57340adfb6a4e858e 100644 (file)
@@ -99,7 +99,6 @@
 #include <switch_resample.h>
 #include <switch_ivr.h>
 #include <switch_rtp.h>
-#include <switch_stun.h>
 #include <switch_log.h>
 #include <switch_xml.h>
 #include <switch_core_event_hook.h>
index d3b360d8cf0c0bf936d93a00c3c60198c8d89b7c..c724b9af147b5e72c15b65db94e329b757d4b4cf 100644 (file)
@@ -30,6 +30,7 @@
  *
  */
 #include <switch.h>
+#include <switch_stun.h>
 #include <libdingaling.h>
 #ifdef SWITCH_HAVE_ODBC
 #include <switch_odbc.h>
index 5e4afb7c072b816286bf3670174a108dde417247..a70287b47ef0b694ee2d8ea221955680c58703d7 100644 (file)
@@ -33,6 +33,7 @@
  *
  */
 #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_set_video_codec(private_object_t *tech_pvt, int force);
index c1204e812e6810e4ec69592915d26eb19a139034..bd26428c24d4c40e5e105c48c5de1e1ff4836ff2 100644 (file)
@@ -32,6 +32,7 @@
  */
 
 #include <switch.h>
+#include <switch_stun.h>
 #undef PACKAGE_NAME
 #undef PACKAGE_STRING
 #undef PACKAGE_TARNAME
index 1aba2ec63b4ae28acc96d3f05f71b697878c27a9..e0933b1e0fc0ad2936e33366dbf731e5358b7d44 100644 (file)
@@ -31,6 +31,7 @@
  *
  */
 #include <switch.h>
+#include <switch_stun.h>
 
 struct value_mapping {
        const uint32_t value;