]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
move include above declarations
authorAnthony Minessale <anthony.minessale@gmail.com>
Mon, 4 Dec 2006 16:18:39 +0000 (16:18 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Mon, 4 Dec 2006 16:18:39 +0000 (16:18 +0000)
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

index 537ac9a03ff12145dbecf51454e7125c7cdc920d..dce95633c90956349daa6e90266432597321dd0e 100644 (file)
@@ -791,6 +791,8 @@ SWIGEXPORT(void) SWIG_init (pTHXo_ CV* cv);
 SWIGEXPORT(void) SWIG_init (CV *cv, CPerlObj *);
 #endif
 
+#include <switch.h>
+
 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::