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 b6e7b22..cc1e974 100644 (file)
@@ -145,6 +145,11 @@ typedef struct {
        } while (0)
 
 /*
+ * Public variable
+ */
+extern char **environ;
+
+/*
  * private variables
  */