patch 9.1.2084: Compile error when build with job feature
Commit:
https://github.com/vim/vim/commit/dc47097423c5500ba8eedfcf0fb4ff14f3d924b8
Author: John Marriott <
basi...@internode.on.net>
Date: Tue Jan 13 21:29:26 2026 +0000
patch 9.1.2084: Compile error when build with job feature
Problem: Compile error when build with job feature (after v9.1.2077)
Solution: Add ifdefs (John Marriott).
related: #19076
Signed-off-by: John Marriott <
basi...@internode.on.net>
Signed-off-by: Christian Brabandt <
c...@256bit.org>
diff --git a/src/list.c b/src/list.c
index 4579d3dad..c3d7b5a2b 100644
--- a/src/list.c
+++ b/src/list.c
@@ -792,8 +792,10 @@ list_append_new_item(list_T *l)
case VAR_PARTIAL: tv.vval.v_partial = NULL; break;
case VAR_LIST: tv.vval.v_list = list_alloc(); break;
case VAR_DICT: tv.vval.v_dict = dict_alloc(); break;
+#ifdef FEAT_JOB_CHANNEL
case VAR_JOB: tv.vval.v_job = NULL; break;
case VAR_CHANNEL: tv.vval.v_channel = NULL; break;
+#endif
case VAR_CLASS:
if (l->lv_type != NULL && l->lv_type->tt_member != NULL)
tv.vval.v_class = l->lv_type->tt_member->tt_class;
diff --git a/src/version.c b/src/version.c
index 87702d84b..0d09cef03 100644
--- a/src/version.c
+++ b/src/version.c
@@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2084,
/**/
2083,
/**/