# HG changeset patch # User Bram Moolenaar # Date 1554566406 -7200 # Node ID 3b79a302994725116a87ffd363ac1733eb79c1ed # Parent eca5defefa66f57e1685521b295fe7d6e54465a1 patch 8.1.1126: build failure with +terminal but without tgetent commit https://github.com/vim/vim/commit/3d3f21764a8003b90216ae6fb988af1dae5f5d70 Author: Bram Moolenaar Date: Sat Apr 6 17:56:05 2019 +0200 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 --- a/src/ui.c +++ b/src/ui.c @@ -628,8 +628,9 @@ ui_new_shellsize(void) } #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 --- a/src/version.c +++ b/src/version.c @@ -772,6 +772,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1126, +/**/ 1125, /**/ 1124,