diff options
Diffstat (limited to 'src/callproc.c')
| -rw-r--r-- | src/callproc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/callproc.c b/src/callproc.c index b29572bae0c..bf2fabcc750 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -24,7 +24,9 @@ Boston, MA 02111-1307, USA. */ | |||
| 24 | #include <errno.h> | 24 | #include <errno.h> |
| 25 | #include <stdio.h> | 25 | #include <stdio.h> |
| 26 | 26 | ||
| 27 | #ifndef USE_CRT_DLL | ||
| 27 | extern int errno; | 28 | extern int errno; |
| 29 | #endif | ||
| 28 | 30 | ||
| 29 | /* Define SIGCHLD as an alias for SIGCLD. */ | 31 | /* Define SIGCHLD as an alias for SIGCLD. */ |
| 30 | 32 | ||
| @@ -88,8 +90,10 @@ extern int errno; | |||
| 88 | #ifdef VMS | 90 | #ifdef VMS |
| 89 | extern noshare char **environ; | 91 | extern noshare char **environ; |
| 90 | #else | 92 | #else |
| 93 | #ifndef USE_CRT_DLL | ||
| 91 | extern char **environ; | 94 | extern char **environ; |
| 92 | #endif | 95 | #endif |
| 96 | #endif | ||
| 93 | 97 | ||
| 94 | #ifdef HAVE_SETPGID | 98 | #ifdef HAVE_SETPGID |
| 95 | #if !defined (USG) || defined (BSD_PGRPS) | 99 | #if !defined (USG) || defined (BSD_PGRPS) |