--- src/client.c.orig	2022-07-11 07:48:27.000000000 -0500
+++ src/client.c	2022-08-13 06:04:19.000000000 -0500
@@ -37,6 +37,9 @@
 
 #include "prototypes.h"
 
+#include <crt_externs.h>
+#define environ (*_NSGetEnviron ()) 
+
 #ifndef SHUT_RD
 #define SHUT_RD 0
 #endif
