aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Innes2000-08-22 22:14:00 +0000
committerAndrew Innes2000-08-22 22:14:00 +0000
commitd43721a22ec2e1d02433a9ef87af31bd57ca40e4 (patch)
treea54aa0163d278bb9a71368973e2a6917e3850cb6
parent746d9caf8bd649d39bae9979923c6833d7661bdc (diff)
downloademacs-d43721a22ec2e1d02433a9ef87af31bd57ca40e4.tar.gz
emacs-d43721a22ec2e1d02433a9ef87af31bd57ca40e4.zip
Include keyboard.h before frame.h.
(window_change_signal) [USE_CRT_DLL]: Remove unnecessary extern, which screws up dllimport attributes.
-rw-r--r--src/dispnew.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index d715e598f1f..5cff07c04b9 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -37,6 +37,7 @@ Boston, MA 02111-1307, USA. */
37#include "cm.h" 37#include "cm.h"
38#include "buffer.h" 38#include "buffer.h"
39#include "charset.h" 39#include "charset.h"
40#include "keyboard.h"
40#include "frame.h" 41#include "frame.h"
41#include "window.h" 42#include "window.h"
42#include "commands.h" 43#include "commands.h"
@@ -45,7 +46,6 @@ Boston, MA 02111-1307, USA. */
45#include "intervals.h" 46#include "intervals.h"
46#include "blockinput.h" 47#include "blockinput.h"
47#include "process.h" 48#include "process.h"
48#include "keyboard.h"
49 49
50/* I don't know why DEC Alpha OSF1 fail to compile this file if we 50/* I don't know why DEC Alpha OSF1 fail to compile this file if we
51 include the following file. */ 51 include the following file. */
@@ -5427,7 +5427,9 @@ window_change_signal (signalnum) /* If we don't have an argument, */
5427 int signalnum; /* some compilers complain in signal calls. */ 5427 int signalnum; /* some compilers complain in signal calls. */
5428{ 5428{
5429 int width, height; 5429 int width, height;
5430#ifndef USE_CRT_DLL
5430 extern int errno; 5431 extern int errno;
5432#endif
5431 int old_errno = errno; 5433 int old_errno = errno;
5432 5434
5433 get_frame_size (&width, &height); 5435 get_frame_size (&width, &height);