diff contrib/chg/chg.c @ 50352:d06e43cd393f stable

chg: declare environ (issue6812)
author Arun Kulshreshtha <akulshreshtha@janestreet.com>
date Mon, 24 Apr 2023 10:30:08 -0400
parents cf4d2f31660d
children c2a1f8668606
line wrap: on
line diff
--- 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];