changeset 31099:0fe5afca71e4

Include keyboard.h before frame.h. [USE_CRT_DLL]: Remove unnecessary extern, which screws up dllimport attributes. (create_process) [USE_CRT_DLL]: Remove unnecessary extern, which screws up dllimport attributes.
author Andrew Innes <andrewi@gnu.org>
date Tue, 22 Aug 2000 22:36:52 +0000
parents 53a2817c6ee4
children 92f108b8b281
files src/process.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Tue Aug 22 22:32:56 2000 +0000
+++ b/src/process.c	Tue Aug 22 22:36:52 2000 +0000
@@ -104,9 +104,9 @@
 #include "termhooks.h"
 #include "termopts.h"
 #include "commands.h"
+#include "keyboard.h"
 #include "frame.h"
 #include "blockinput.h"
-#include "keyboard.h"
 #include "dispextern.h"
 #include "composite.h"
 #include "atimer.h"
@@ -147,7 +147,9 @@
 
 extern void set_waiting_for_input P_ ((EMACS_TIME *));
 
+#ifndef USE_CRT_DLL
 extern int errno;
+#endif
 #ifdef VMS
 extern char *sys_errlist[];
 #endif
@@ -1301,7 +1303,9 @@
   /* Use volatile to protect variables from being clobbered by longjmp.  */
   volatile int forkin, forkout;
   volatile int pty_flag = 0;
+#ifndef USE_CRT_DLL
   extern char **environ;
+#endif
   Lisp_Object buffer = XPROCESS (process)->buffer;
 
   inchannel = outchannel = -1;