summaryrefslogtreecommitdiff
path: root/src/callproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/callproc.c')
-rw-r--r--src/callproc.c4
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. */
#include <errno.h>
#include <stdio.h>
+#ifndef USE_CRT_DLL
extern int errno;
+#endif
/* Define SIGCHLD as an alias for SIGCLD. */
@@ -88,8 +90,10 @@ extern int errno;
#ifdef VMS
extern noshare char **environ;
#else
+#ifndef USE_CRT_DLL
extern char **environ;
#endif
+#endif
#ifdef HAVE_SETPGID
#if !defined (USG) || defined (BSD_PGRPS)