[Freeswitch-svn] [commit] r3533 - freeswitch/trunk/src/mod/languages/mod_perl

Freeswitch SVN anthm at freeswitch.org
Mon Dec 4 11:18:39 EST 2006


Author: anthm
Date: Mon Dec  4 11:18:39 2006
New Revision: 3533

Modified:
   freeswitch/trunk/src/mod/languages/mod_perl/switch_swig_wrap.c

Log:
move include above declarations

Modified: freeswitch/trunk/src/mod/languages/mod_perl/switch_swig_wrap.c
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_perl/switch_swig_wrap.c	(original)
+++ freeswitch/trunk/src/mod/languages/mod_perl/switch_swig_wrap.c	Mon Dec  4 11:18:39 2006
@@ -791,6 +791,8 @@
 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 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::



More information about the Freeswitch-svn mailing list