From 7389b9ba076ffd49d5c37113809f46c2bf1f38f3 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 17 Jul 2016 04:33:19 +0000 Subject: iostat_process: declare environ extern This is necessary for FreeBSD and probably other non-GNU systems. --- iostat_process.c | 1 + 1 file changed, 1 insertion(+) diff --git a/iostat_process.c b/iostat_process.c index 9f98077..65acd22 100644 --- a/iostat_process.c +++ b/iostat_process.c @@ -8,6 +8,7 @@ * regardless of the number of mog_svc objects we have. */ #include "cmogstored.h" +extern char **environ; static pid_t iostat_pid; static time_t iostat_last_fail; -- cgit v1.2.3-24-ge0c7