chg: declare environ (issue6812) stable
authorArun Kulshreshtha <akulshreshtha@janestreet.com>
Mon, 24 Apr 2023 10:30:08 -0400
branchstable
changeset 50352 d06e43cd393f
parent 50351 de2102390910
child 50353 c2a1f8668606
chg: declare environ (issue6812)
contrib/chg/chg.c
--- a/contrib/chg/chg.c	Tue Apr 18 11:48:22 2023 +0200
+++ b/contrib/chg/chg.c	Mon Apr 24 10:30:08 2023 -0400
@@ -31,6 +31,8 @@
 #define PATH_MAX 4096
 #endif
 
+extern char **environ;
+
 struct cmdserveropts {
 	char sockname[PATH_MAX];
 	char initsockname[PATH_MAX];