# HG changeset patch # User Andrew Innes # Date 966983812 0 # Node ID 0fe5afca71e4d1f273fbb25d82baedbaea509f15 # Parent 53a2817c6ee472a192238628334dc7003a7b26c5 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 -r 53a2817c6ee4 -r 0fe5afca71e4 src/process.c --- 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;