]> git.eshelyaron.com Git - emacs.git/commitdiff
Include keyboard.h before frame.h.
authorAndrew Innes <andrewi@gnu.org>
Tue, 22 Aug 2000 22:36:52 +0000 (22:36 +0000)
committerAndrew Innes <andrewi@gnu.org>
Tue, 22 Aug 2000 22:36:52 +0000 (22:36 +0000)
[USE_CRT_DLL]: Remove unnecessary extern, which screws
up dllimport attributes.
(create_process) [USE_CRT_DLL]: Remove unnecessary extern, which
screws up dllimport attributes.

src/process.c

index 540b10681a588d61a904b61cf95ebc7a3838fb22..d71b68288cd071df0068983473fc7a5070238eec 100644 (file)
@@ -104,9 +104,9 @@ Boston, MA 02111-1307, USA.  */
 #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 @@ Lisp_Object Qlast_nonmenu_event;
 
 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 @@ create_process (process, new_argv, current_dir)
   /* 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;