Index: gettext-tools/gnulib-lib/execute.c
--- gettext-tools/gnulib-lib/execute.c.orig	2024-12-06 18:02:22.496907000 +0100
+++ gettext-tools/gnulib-lib/execute.c	2024-12-06 22:42:36.466320000 +0100
@@ -260,6 +260,9 @@
      equivalent.  */
   char **child_environ;
   char **malloced_environ;
+#ifndef HAVE_ENVIRON_DECL
+  extern char **environ;
+#endif
   sigset_t blocked_signals;
   posix_spawn_file_actions_t actions;
   bool actions_allocated;
