From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 629C91FEAA for ; Sun, 17 Jul 2016 04:34:33 +0000 (UTC) From: Eric Wong To: cmogstored-public@bogomips.org Subject: [PATCH] iostat_process: declare environ extern Date: Sun, 17 Jul 2016 04:34:33 +0000 Message-Id: <20160717043433.2840-1-e@80x24.org> List-Id: 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; -- EW