From 83e7450053399942e1c9efa802c568b51d948541 Mon Sep 17 00:00:00 2001
From: Bram Moolenaar <Bram@vim.org>
Date: Sun, 12 Jul 2020 20:44:37 +0200
Subject: [PATCH] patch 8.2.1196: build failure with normal features

Problem:    Build failure with normal features.
Solution:   Add #ifdef.
---
 src/popupwin.c | 2 ++
 src/version.c  | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/src/popupwin.c b/src/popupwin.c
index 0af6d52de9..59a0bdf78a 100644
--- a/src/popupwin.c
+++ b/src/popupwin.c
@@ -3504,10 +3504,12 @@ may_update_popup_mask(int type)
 			wp = mouse_find_win(&line_cp, &col_cp, IGNORE_POPUP);
 			if (wp != NULL)
 			{
+#if defined(FEAT_TERMINAL)
 			    // A terminal window needs to be redrawn.
 			    if (bt_terminal(wp->w_buffer))
 				redraw_win_later(wp, NOT_VALID);
 			    else
+#endif
 			    {
 				if (wp != prev_wp)
 				{
diff --git a/src/version.c b/src/version.c
index b7555b7236..34acc6b69f 100644
--- a/src/version.c
+++ b/src/version.c
@@ -754,6 +754,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1196,
 /**/
     1195,
 /**/
-- 
GitLab