comparison src/process.c @ 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 280157ad4aa3
children d1344c992a9a
comparison
equal deleted inserted replaced
31098:53a2817c6ee4 31099:0fe5afca71e4
102 #include "coding.h" 102 #include "coding.h"
103 #include "process.h" 103 #include "process.h"
104 #include "termhooks.h" 104 #include "termhooks.h"
105 #include "termopts.h" 105 #include "termopts.h"
106 #include "commands.h" 106 #include "commands.h"
107 #include "keyboard.h"
107 #include "frame.h" 108 #include "frame.h"
108 #include "blockinput.h" 109 #include "blockinput.h"
109 #include "keyboard.h"
110 #include "dispextern.h" 110 #include "dispextern.h"
111 #include "composite.h" 111 #include "composite.h"
112 #include "atimer.h" 112 #include "atimer.h"
113 113
114 #define max(a, b) ((a) > (b) ? (a) : (b)) 114 #define max(a, b) ((a) > (b) ? (a) : (b))
145 145
146 #include "syswait.h" 146 #include "syswait.h"
147 147
148 extern void set_waiting_for_input P_ ((EMACS_TIME *)); 148 extern void set_waiting_for_input P_ ((EMACS_TIME *));
149 149
150 #ifndef USE_CRT_DLL
150 extern int errno; 151 extern int errno;
152 #endif
151 #ifdef VMS 153 #ifdef VMS
152 extern char *sys_errlist[]; 154 extern char *sys_errlist[];
153 #endif 155 #endif
154 156
155 #ifndef HAVE_H_ERRNO 157 #ifndef HAVE_H_ERRNO
1299 #endif /* 0 */ 1301 #endif /* 0 */
1300 #endif /* !POSIX_SIGNALS */ 1302 #endif /* !POSIX_SIGNALS */
1301 /* Use volatile to protect variables from being clobbered by longjmp. */ 1303 /* Use volatile to protect variables from being clobbered by longjmp. */
1302 volatile int forkin, forkout; 1304 volatile int forkin, forkout;
1303 volatile int pty_flag = 0; 1305 volatile int pty_flag = 0;
1306 #ifndef USE_CRT_DLL
1304 extern char **environ; 1307 extern char **environ;
1308 #endif
1305 Lisp_Object buffer = XPROCESS (process)->buffer; 1309 Lisp_Object buffer = XPROCESS (process)->buffer;
1306 1310
1307 inchannel = outchannel = -1; 1311 inchannel = outchannel = -1;
1308 1312
1309 #ifdef HAVE_PTYS 1313 #ifdef HAVE_PTYS