# HG changeset patch # User Bram Moolenaar # Date 1661432404 -7200 # Node ID 2ed5e06e72857d88e53c35fddd5b07a3b1263e05 # Parent 28b7acdab155539a0f934ee52d6b7ec56fbb7a18 patch 9.0.0262: build failure without the +quickfix feature Commit: https://github.com/vim/vim/commit/2e6dcbc4450c98bd12faace5d77a65f2afddae44 Author: Bram Moolenaar Date: Thu Aug 25 13:54:16 2022 +0100 patch 9.0.0262: build failure without the +quickfix feature Problem: Build failure without the +quickfix feature. Solution: Add #ifdef. diff --git a/src/buffer.c b/src/buffer.c --- a/src/buffer.c +++ b/src/buffer.c @@ -222,7 +222,9 @@ open_buffer( // Read the file if there is one. if (curbuf->b_ffname != NULL +#ifdef FEAT_QUICKFIX && !bt_quickfix(curbuf) +#endif && !bt_nofilename(curbuf) #ifdef FEAT_NETBEANS_INTG && netbeansReadFile diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -732,6 +732,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 262, +/**/ 261, /**/ 260,