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