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:
parent
e028f2691c
commit
25f2fc817e
|
@ -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>
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
*
|
||||
*/
|
||||
#include <switch.h>
|
||||
#include <switch_stun.h>
|
||||
#include <libdingaling.h>
|
||||
#ifdef SWITCH_HAVE_ODBC
|
||||
#include <switch_odbc.h>
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
*/
|
||||
|
||||
#include <switch.h>
|
||||
#include <switch_stun.h>
|
||||
#undef PACKAGE_NAME
|
||||
#undef PACKAGE_STRING
|
||||
#undef PACKAGE_TARNAME
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
*
|
||||
*/
|
||||
#include <switch.h>
|
||||
#include <switch_stun.h>
|
||||
|
||||
struct value_mapping {
|
||||
const uint32_t value;
|
||||
|
|
Loading…
Reference in New Issue