From: Bram Moolenaar Date: Thu, 10 May 2018 12:40:57 +0000 (+0200) Subject: patch 8.0.1808: can't build without TGETENT X-Git-Tag: v8.0.1808 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=9289df5ca9546bda0e0046a45ceb66c6bb7a838f;p=thirdparty%2Fvim.git patch 8.0.1808: can't build without TGETENT Problem: Can't build without TGETENT. Solution: Add #ifdef --- diff --git a/src/term.c b/src/term.c index 37caf2b26c..8b69cc41a5 100644 --- a/src/term.c +++ b/src/term.c @@ -1544,6 +1544,7 @@ static char *(key_names[]) = }; #endif +#ifdef HAVE_TGETENT static void get_term_entries(int *height, int *width) { @@ -1642,6 +1643,7 @@ get_term_entries(int *height, int *width) PC = *p; # endif } +#endif static void report_term_error(char_u *error_msg, char_u *term) diff --git a/src/version.c b/src/version.c index 147f4ed077..db47bea9eb 100644 --- a/src/version.c +++ b/src/version.c @@ -761,6 +761,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1808, /**/ 1807, /**/