* w32select.c (waiting_for_input): Declare by including "keyboard.h"
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 11 Oct 2012 00:32:25 +0000 (17:32 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 11 Oct 2012 00:32:25 +0000 (17:32 -0700)
instead of having a wrong decl.

src/ChangeLog
src/w32select.c

index 19a19e7..12b1462 100644 (file)
@@ -1,5 +1,7 @@
 2012-10-11  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * 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  <eggert@cs.ucla.edu>
index ee0e6d1..1b10c74 100644 (file)
@@ -76,6 +76,7 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #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 ();