perl plugin: Declare the “environ” variable.
[collectd.git] / src / perl.c
index b6e7b22..cc1e974 100644 (file)
@@ -145,6 +145,11 @@ typedef struct {
        } while (0)
 
 /*
+ * Public variable
+ */
+extern char **environ;
+
+/*
  * private variables
  */