summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-01-21 21:48:57 +0800
committerPo Lu <luangruo@yahoo.com>2022-01-21 21:50:06 +0800
commit88e47934d9ab75f46dc02bfb784bb213f45f6336 (patch)
treee8bdf99205e5086d4189e4dc3d9063d5481ad601
parent62a84eea34c33bd1d4b13b2c84cea7a6b082278c (diff)
downloademacs-88e47934d9ab75f46dc02bfb784bb213f45f6336.tar.gz
* src/keyboard.c (syms_of_keyboard): Fix build without input polling.
-rw-r--r--src/keyboard.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 6f1614a7dfb..d2919ed9f66 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -12082,8 +12082,10 @@ syms_of_keyboard (void)
help_form_saved_window_configs = Qnil;
staticpro (&help_form_saved_window_configs);
+#ifdef POLL_FOR_INPUT
poll_timer_time = Qnil;
staticpro (&poll_timer_time);
+#endif
defsubr (&Scurrent_idle_time);
defsubr (&Sevent_symbol_parse_modifiers);