summaryrefslogtreecommitdiff
path: root/src/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index d55a726827e..6fa0e4afc3f 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -7169,6 +7169,7 @@ tty_read_avail_input (struct terminal *terminal,
return nread;
}
+#if defined SYNC_INPUT || defined SIGIO
static void
handle_async_input (void)
{
@@ -7195,6 +7196,7 @@ handle_async_input (void)
--handling_signal;
#endif
}
+#endif /* SYNC_INPUT || SIGIO */
#ifdef SYNC_INPUT
void