summaryrefslogtreecommitdiff
path: root/gnulib-local/lib/spawn-pipe.c.diff
blob: 0ae732208a8f2a1f14619f1c40552c9db3c606a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --git a/spawn-pipe.c b/spawn-pipe.c
index 656980d..b7fa95b 100644
--- a/spawn-pipe.c
+++ b/spawn-pipe.c
@@ -48,6 +48,13 @@
 
 #endif
 
+/* environ is the exported symbol referencing the internal
+   __cygwin_environ variable on cygwin64:
+   <https://cygwin.com/ml/cygwin/2013-06/msg00228.html>.  */
+#if defined __CYGWIN__ && defined __x86_64__
+extern DLL_VARIABLE char **environ;
+#endif
+
 
 #ifdef EINTR