summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/perl/perl-core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/perl/perl-core.c b/src/perl/perl-core.c
index e7b59eb8..836d52e6 100644
--- a/src/perl/perl-core.c
+++ b/src/perl/perl-core.c
@@ -111,7 +111,8 @@ static void xs_init(pTHX)
/* Initialize perl interpreter */
void perl_scripts_init(void)
{
- char *args[] = {"", "-e", "0"};
+ char *argarray[] = {"", "-e", "0"};
+ char **args = argarray;
int argc = 3;
char *code, *use_code;