Unified · Split
| @@ -11,8 +11,6 @@ · 10 unmodified lines | |||
| 11 | #pragma GCC diagnostic ignored "-Wimplicit-int-float-conversion" | 11 | #pragma GCC diagnostic ignored "-Wimplicit-int-float-conversion" |
| 12 | #endif | 12 | #endif |
| 13 | 13 | ||
| 14 | extern char **environ; | ||
| 15 | |||
| 16 | #include <errno.h> | 14 | #include <errno.h> |
| 17 | #include <stdio.h> | 15 | #include <stdio.h> |
| 18 | #include <ctype.h> | 16 | #include <ctype.h> |
| @@ -3044,6 +3042,7 @@ ML (spawn (value command_v, value fds_v)) · 3025 unmodified lines | |||
| 3044 | } | 3042 | } |
| 3045 | } | 3043 | } |
| 3046 | 3044 | ||
| 3045 | extern char **environ; | ||
| 3047 | if ((ret = posix_spawn (&pid, "/bin/sh", &fa, &attr, argv, environ))) { | 3046 | if ((ret = posix_spawn (&pid, "/bin/sh", &fa, &attr, argv, environ))) { |
| 3048 | msg = "posix_spawn"; | 3047 | msg = "posix_spawn"; |
| 3049 | goto fail; | 3048 | goto fail; |