From: Andrew Innes Date: Tue, 22 Aug 2000 22:36:52 +0000 (+0000) Subject: Include keyboard.h before frame.h. X-Git-Tag: emacs-pretest-21.0.90~2041 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3ec68006ee3994a79d6df34a036d870b4cfebe7e;p=emacs.git 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. --- diff --git a/src/process.c b/src/process.c index 540b10681a5..d71b68288cd 100644 --- a/src/process.c +++ b/src/process.c @@ -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;