aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Innes <[email protected]>2000-08-22 22:36:52 +0000
committerAndrew Innes <[email protected]>2000-08-22 22:36:52 +0000
commit3ec68006ee3994a79d6df34a036d870b4cfebe7e (patch)
treeaec6408f1a383393831a30d9f5a9b67f92db39fb
parent43e5817fd13c5f98af6390ada11bddd2f54d9d5f (diff)
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.
-rw-r--r--src/process.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c
index 540b10681a..d71b68288c 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;