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.