# HG changeset patch # User Bram Moolenaar # Date 1571774404 -7200 # Node ID b5b2e3b824c2a1575421efd1841efd8c1caf5996 # Parent 7ca16569d89d2c68502c3d38ea808f18a73728a5 patch 8.1.2199: build failure when using normal features without GUI Commit: https://github.com/vim/vim/commit/a720be78d7978b3b853ff6c8af0d1721d6225378 Author: Bram Moolenaar Date: Tue Oct 22 21:45:19 2019 +0200 patch 8.1.2199: build failure when using normal features without GUI Problem: Build failure when using normal features without GUI and EXITFREE defined. Solution: Add #ifdef. (Dominique Pelle, closes #5106) diff --git a/src/scriptfile.c b/src/scriptfile.c --- a/src/scriptfile.c +++ b/src/scriptfile.c @@ -1360,7 +1360,9 @@ free_scriptnames(void) for (i = script_items.ga_len; i > 0; --i) { vim_free(SCRIPT_ITEM(i).sn_name); +# ifdef FEAT_PROFILE ga_clear(&SCRIPT_ITEM(i).sn_prl_ga); +# endif } ga_clear(&script_items); } diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2199, +/**/ 2198, /**/ 2197,