about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-07-17 04:33:19 +0000
committerEric Wong <e@80x24.org>2016-07-17 04:33:19 +0000
commit7389b9ba076ffd49d5c37113809f46c2bf1f38f3 (patch)
tree967a8d0848dae6e1244bec3524a9bdc77f65f408
parent504a5ced05f48bf8cc1a08b22ce8830b6db98d41 (diff)
downloadcmogstored-7389b9ba076ffd49d5c37113809f46c2bf1f38f3.tar.gz
This is necessary for FreeBSD and probably other non-GNU systems.
-rw-r--r--iostat_process.c1
1 files changed, 1 insertions, 0 deletions
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;