<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Fix:

error: use of undeclared identifier 'environ'

https://dev.gnupg.org/T7169
--- src/spawn-posix.c.orig	2024-06-19 02:33:41.000000000 -0500
+++ src/spawn-posix.c	2024-06-21 01:54:38.000000000 -0500
@@ -57,6 +57,11 @@
 
 #include "gpgrt-int.h"
 
+#ifdef __APPLE__
+# include &lt;crt_externs.h&gt;
+#else
+extern char **environ;
+#endif
 
 /* Definition for the gpgrt_spawn_actions_t.  Note that there is a
  * different one for Windows.  */
</pre></body></html>