Code

perl plugin: Declare the “environ” variable.
[collectd.git] / 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
  */