From: Florian Forster Date: Thu, 17 Sep 2009 16:26:41 +0000 (+0200) Subject: perl plugin: Declare the “environ” variable. X-Git-Tag: collectd-4.7.4~6 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=0f7c2b6ac38ad09ac767fe745737035acc22906e;p=collectd.git perl plugin: Declare the “environ” variable. --- diff --git a/src/perl.c b/src/perl.c index b6e7b22d..cc1e974f 100644 --- a/src/perl.c +++ b/src/perl.c @@ -145,6 +145,11 @@ typedef struct { } while (0) /* + * Public variable + */ +extern char **environ; + +/* * private variables */