From 68cfb08888a701b8ed330299f4844d3a473c804c Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@justemail.net>
Date: Mon, 25 Jul 2016 17:28:54 +0200
Subject: [PATCH] tweaks: fix compilation with --enable-tiny

---
 src/winio.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/winio.c b/src/winio.c
index a672a18b..05f7d525 100644
--- a/src/winio.c
+++ b/src/winio.c
@@ -1399,12 +1399,14 @@ int *parse_verbatim_kbinput(WINDOW *win, size_t *kbinput_len)
     while ((kbinput = get_input(win, 1)) == NULL)
 	;
 
+#ifndef NANO_TINY
     /* When the window was resized, abort and return nothing. */
     if (*kbinput == KEY_WINCH) {
 	*kbinput_len = 0;
 	free(kbinput);
 	return NULL;
     }
+#endif
 
 #ifdef ENABLE_UTF8
     if (using_utf8()) {
-- 
GitLab