patch 8.1.1126: build failure with +terminal but without tgetent

Problem:    Build failure with +terminal but without tgetent.
Solution:   Adjust #ifdef.
diff --git a/src/ui.c b/src/ui.c
index 4432852..f78c570 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -628,8 +628,9 @@
 }
 
 #if (defined(FEAT_EVAL) \
-    && (defined(FEAT_GUI) \
-	    || (defined(HAVE_TGETENT) && defined(FEAT_TERMRESPONSE)))) \
+	    && (defined(FEAT_GUI) \
+		|| (defined(HAVE_TGETENT) && defined(FEAT_TERMRESPONSE)))) \
+	|| defined(FEAT_TERMINAL) \
 	|| defined(PROTO)
 /*
  * Get the window position in pixels, if possible.
diff --git a/src/version.c b/src/version.c
index f9dd7cc..9115a00 100644
--- a/src/version.c
+++ b/src/version.c
@@ -772,6 +772,8 @@
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1126,
+/**/
     1125,
 /**/
     1124,