diff --git a/modules/app_perl/app_perl_mod.c b/modules/app_perl/app_perl_mod.c index 30890974417..0560a7c2697 100644 --- a/modules/app_perl/app_perl_mod.c +++ b/modules/app_perl/app_perl_mod.c @@ -167,7 +167,7 @@ static mi_export_t mi_cmds[] = { /* * Module interface */ -struct module_exports exports = { +struct module_exports _app_perl_exports = { "app_perl", RTLD_NOW | RTLD_GLOBAL, cmds, /* Exported functions */ @@ -351,7 +351,7 @@ static int mod_init(void) { struct timeval t1; struct timeval t2; - if(register_mi_mod(exports.name, mi_cmds)!=0) + if(register_mi_mod(_app_perl_exports.name, mi_cmds)!=0) { LM_ERR("failed to register MI commands\n"); return -1;