cmogstored dev/user discussion/issues/patches/etc
 help / color / mirror / code / Atom feed
* [PATCH] iostat_process: declare environ extern
@ 2016-07-17  4:34 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2016-07-17  4:34 UTC (permalink / raw)
  To: cmogstored-public

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-07-17  4:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-17  4:34 [PATCH] iostat_process: declare environ extern Eric Wong

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/cmogstored.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).