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
This commit is contained in:
Michael Jerris 2007-06-20 09:02:30 +00:00
parent e028f2691c
commit 25f2fc817e
5 changed files with 4 additions and 1 deletions

View 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>

View File

@ -30,6 +30,7 @@
*
*/
#include <switch.h>
#include <switch_stun.h>
#include <libdingaling.h>
#ifdef SWITCH_HAVE_ODBC
#include <switch_odbc.h>

View 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);

View File

@ -32,6 +32,7 @@
*/
#include <switch.h>
#include <switch_stun.h>
#undef PACKAGE_NAME
#undef PACKAGE_STRING
#undef PACKAGE_TARNAME

View File

@ -31,6 +31,7 @@
*
*/
#include <switch.h>
#include <switch_stun.h>
struct value_mapping {
const uint32_t value;