Code

perl plugin: Declare the “environ” variable.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Thu, 17 Sep 2009 16:26:41 +0000 (18:26 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Thu, 17 Sep 2009 16:26:41 +0000 (18:26 +0200)
src/perl.c

index b6e7b22d27bcf724603d7f85f9a6a86da6ed99d4..cc1e974f69529b9ddbfad312053ce343e1022ca5 100644 (file)
@@ -144,6 +144,11 @@ typedef struct {
                sfree (data); \
        } while (0)
 
+/*
+ * Public variable
+ */
+extern char **environ;
+
 /*
  * private variables
  */