patch 8.0.1571: can't build without GUI
Problem: Can't build without GUI.
Solution: Adjust #ifdef for gui_find_menu().
diff --git a/src/menu.c b/src/menu.c
index c04cd49..58429dc 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -2462,6 +2462,7 @@
}
#if defined(FEAT_GUI_MSWIN) || defined(FEAT_GUI_GTK) \
+ || defined(FEAT_TERM_POPUP_MENU) \
|| defined(FEAT_BEVAL_TIP) || defined(PROTO)
/*
* Given a menu descriptor, e.g. "File.New", find it in the menu hierarchy.
diff --git a/src/version.c b/src/version.c
index 6f498aa..2f045e4 100644
--- a/src/version.c
+++ b/src/version.c
@@ -767,6 +767,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1571,
+/**/
1570,
/**/
1569,