Commit 3ec68006 authored by Andrew Innes's avatar Andrew Innes

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.
parent 43e5817f
...@@ -104,9 +104,9 @@ Boston, MA 02111-1307, USA. */ ...@@ -104,9 +104,9 @@ Boston, MA 02111-1307, USA. */
#include "termhooks.h" #include "termhooks.h"
#include "termopts.h" #include "termopts.h"
#include "commands.h" #include "commands.h"
#include "keyboard.h"
#include "frame.h" #include "frame.h"
#include "blockinput.h" #include "blockinput.h"
#include "keyboard.h"
#include "dispextern.h" #include "dispextern.h"
#include "composite.h" #include "composite.h"
#include "atimer.h" #include "atimer.h"
...@@ -147,7 +147,9 @@ Lisp_Object Qlast_nonmenu_event; ...@@ -147,7 +147,9 @@ Lisp_Object Qlast_nonmenu_event;
extern void set_waiting_for_input P_ ((EMACS_TIME *)); extern void set_waiting_for_input P_ ((EMACS_TIME *));
#ifndef USE_CRT_DLL
extern int errno; extern int errno;
#endif
#ifdef VMS #ifdef VMS
extern char *sys_errlist[]; extern char *sys_errlist[];
#endif #endif
...@@ -1301,7 +1303,9 @@ create_process (process, new_argv, current_dir) ...@@ -1301,7 +1303,9 @@ create_process (process, new_argv, current_dir)
/* Use volatile to protect variables from being clobbered by longjmp. */ /* Use volatile to protect variables from being clobbered by longjmp. */
volatile int forkin, forkout; volatile int forkin, forkout;
volatile int pty_flag = 0; volatile int pty_flag = 0;
#ifndef USE_CRT_DLL
extern char **environ; extern char **environ;
#endif
Lisp_Object buffer = XPROCESS (process)->buffer; Lisp_Object buffer = XPROCESS (process)->buffer;
inchannel = outchannel = -1; inchannel = outchannel = -1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment