From 38006079e4a18d30090ee187f032eff4c6182ea6 Mon Sep 17 00:00:00 2001 From: Andrew Innes Date: Tue, 22 Aug 2000 23:43:25 +0000 Subject: [PATCH] Include keyboard.h before frame.h. [USE_CRT_DLL]: Remove unnecessary extern, which screws up dllimport attributes. (x_update_window_end): Update prototype. --- src/w32term.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/w32term.c b/src/w32term.c index 7d664a6c532..f7622568569 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -41,6 +41,7 @@ Boston, MA 02111-1307, USA. */ #include #include +#include "keyboard.h" #include "frame.h" #include "dispextern.h" #include "fontset.h" @@ -51,7 +52,6 @@ Boston, MA 02111-1307, USA. */ #include "disptab.h" #include "buffer.h" #include "window.h" -#include "keyboard.h" #include "intervals.h" #include "composite.h" #include "coding.h" @@ -315,7 +315,9 @@ extern Lisp_Object Vcommand_line_args, Vsystem_name; extern Lisp_Object Qface, Qmouse_face; +#ifndef USE_CRT_DLL extern int errno; +#endif /* A mask of extra modifier bits to put into every keyboard char. */ @@ -334,7 +336,7 @@ enum draw_glyphs_face DRAW_IMAGE_SUNKEN }; -static void x_update_window_end P_ ((struct window *, int)); +static void x_update_window_end P_ ((struct window *, int, int)); static void frame_to_window_pixel_xy P_ ((struct window *, int *, int *)); void w32_delete_display P_ ((struct w32_display_info *)); static int fast_find_position P_ ((struct window *, int, int *, int *, -- 2.39.2