aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/emacs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/emacs.c b/src/emacs.c
index cfc92bd9519..8527736cb03 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -660,7 +660,9 @@ argmatch (argv, argc, sstr, lstr, minlen, valptr, skipptr)
660static void 660static void
661malloc_initialize_hook () 661malloc_initialize_hook ()
662{ 662{
663#ifndef USE_CRT_DLL
663 extern char **environ; 664 extern char **environ;
665#endif
664 666
665 if (initialized) 667 if (initialized)
666 { 668 {
@@ -705,8 +707,10 @@ main (argc, argv, envp)
705 char stack_bottom_variable; 707 char stack_bottom_variable;
706 int do_initial_setlocale; 708 int do_initial_setlocale;
707 int skip_args = 0; 709 int skip_args = 0;
710#ifndef USE_CRT_DLL
708 extern int errno; 711 extern int errno;
709 extern int sys_nerr; 712 extern int sys_nerr;
713#endif
710#ifdef HAVE_SETRLIMIT 714#ifdef HAVE_SETRLIMIT
711 struct rlimit rlim; 715 struct rlimit rlim;
712#endif 716#endif