From 4b52830415eff5ad4b442c7a6bc872150ae9164f Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 4 Dec 2006 16:18:39 +0000 Subject: [PATCH] move include above declarations git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3533 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/languages/mod_perl/switch_swig_wrap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mod/languages/mod_perl/switch_swig_wrap.c b/src/mod/languages/mod_perl/switch_swig_wrap.c index 537ac9a03f..dce95633c9 100644 --- a/src/mod/languages/mod_perl/switch_swig_wrap.c +++ b/src/mod/languages/mod_perl/switch_swig_wrap.c @@ -791,6 +791,8 @@ SWIGEXPORT(void) SWIG_init (pTHXo_ CV* cv); SWIGEXPORT(void) SWIG_init (CV *cv, CPerlObj *); #endif +#include + extern void fs_core_set_globals(void); extern int fs_core_init(char *); extern int fs_core_destroy(void); @@ -818,7 +820,6 @@ extern int fs_switch_ivr_speak_text(switch_core_session_t *,char *,char *,char * extern char *fs_switch_channel_get_variable(switch_channel_t *,char *); extern int fs_switch_channel_set_variable(switch_channel_t *,char *,char *); -#include "switch.h" #ifdef PERL_OBJECT #define MAGIC_CLASS _wrap_fs_perl_var::