From: Paul Eggert Date: Thu, 11 Oct 2012 00:32:25 +0000 (-0700) Subject: * w32select.c (waiting_for_input): Declare by including "keyboard.h" X-Git-Tag: emacs-24.2.90~237^2~1 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c1af190b72f9268dd23c13d43962a64c78aa4174;p=emacs.git * w32select.c (waiting_for_input): Declare by including "keyboard.h" instead of having a wrong decl. --- diff --git a/src/ChangeLog b/src/ChangeLog index 19a19e7668c..12b14625a91 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2012-10-11 Paul Eggert + * w32select.c (waiting_for_input): Declare by including "keyboard.h" + instead of having a wrong decl. * nsmenu.m (waiting_for_input): Remove wrong decl. 2012-10-10 Paul Eggert diff --git a/src/w32select.c b/src/w32select.c index ee0e6d16b11..1b10c74cfe9 100644 --- a/src/w32select.c +++ b/src/w32select.c @@ -76,6 +76,7 @@ along with GNU Emacs. If not, see . */ #include "lisp.h" #include "w32term.h" /* for all of the w32 includes */ #include "w32common.h" /* os_subtype */ +#include "keyboard.h" #include "blockinput.h" #include "charset.h" #include "coding.h" @@ -393,7 +394,6 @@ run_protected (Lisp_Object (*code) (Lisp_Object), Lisp_Object arg) with global variables and calling strange looking functions. Is this really the right way to run Lisp callbacks? */ - extern int waiting_for_input; /* from keyboard.c */ int owfi; block_input ();