From: Andrew Innes Date: Tue, 22 Aug 2000 23:37:05 +0000 (+0000) Subject: Include keyboard.h before frame.h. Fix compile X-Git-Tag: emacs-pretest-21.0.90~2026 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=15d36dee8f0b3c402466adaa3ef231b3b02086b3;p=emacs.git Include keyboard.h before frame.h. Fix compile warnings. --- diff --git a/src/w32menu.c b/src/w32menu.c index ac740671c81..257722550ab 100644 --- a/src/w32menu.c +++ b/src/w32menu.c @@ -24,9 +24,9 @@ Boston, MA 02111-1307, USA. */ #include #include "lisp.h" #include "termhooks.h" +#include "keyboard.h" #include "frame.h" #include "window.h" -#include "keyboard.h" #include "blockinput.h" #include "buffer.h" #include "charset.h" @@ -846,7 +846,7 @@ on the left of the dialog box and all following items on the right.\n\ /* Use the mouse's current position. */ FRAME_PTR new_f = SELECTED_FRAME (); Lisp_Object bar_window; - int part; + enum scroll_bar_part part; unsigned long time; Lisp_Object x, y; @@ -2116,7 +2116,7 @@ add_menu_item (HMENU menu, widget_value *wv, HMENU item) } /* Construct native Windows menu(bar) based on widget_value tree. */ -static int +int fill_in_menu (HMENU menu, widget_value *wv) { int items_added = 0;