changeset 50352:d06e43cd393f stable

chg: declare environ (issue6812)
author Arun Kulshreshtha <akulshreshtha@janestreet.com>
date Mon, 24 Apr 2023 10:30:08 -0400
parents de2102390910
children c2a1f8668606
files contrib/chg/chg.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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];