summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-05-10 14:40:57 +0200
committerBram Moolenaar <Bram@vim.org>2018-05-10 14:40:57 +0200
commit9289df5ca9546bda0e0046a45ceb66c6bb7a838f (patch)
tree19f40863aa627e63628ca565100e56e742a234c1 /src
parent69e056915c4145b7b64c60963797692a5b293561 (diff)
downloadvim-git-9289df5ca9546bda0e0046a45ceb66c6bb7a838f.tar.gz
patch 8.0.1808: can't build without TGETENTv8.0.1808
Problem: Can't build without TGETENT. Solution: Add #ifdef
Diffstat (limited to 'src')
-rw-r--r--src/term.c2
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/term.c b/src/term.c
index 37caf2b26..8b69cc41a 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 147f4ed07..db47bea9e 100644
--- a/src/version.c
+++ b/src/version.c
@@ -762,6 +762,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1808,
+/**/
1807,
/**/
1806,