From 4f97239661ebf569fa701f211dd92ef1919bc922 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Wed, 19 Nov 2025 14:35:32 -0800 Subject: [PATCH] build: USE_BUNDLED_UNIBILIUM=0 fails #36623 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit build: guard unibilium.h with HAVE_UNIBILIUM Problem: make distclean make CMAKE_BUILD_TYPE=Release CMAKE_EXTRA_FLAGS="-DENABLE_UNIBILIUM=0" BUNDLED_CMAKE_FLAG="-DUSE_BUNDLED_UNIBILIUM=0" sudo make install In file included from …/nvim/tui/input.h:10: …/nvim/tui/termkey/termkey_defs.h:5:10: fatal error: 'unibilium.h' file not found 5 | #include | ^~~~~~~~~~~~~ 1 error generated. make[3]: *** [src/nvim/CMakeFiles/nvim_bin.dir/tui/input.c.o] Error 1 make[2]: *** [src/nvim/CMakeFiles/nvim_bin.dir/all] Error 2 make[1]: *** [all] Error 2 make: *** [nvim] Error 2 Solution: Check HAVE_UNIBILIUM. --- src/nvim/tui/termkey/termkey_defs.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/nvim/tui/termkey/termkey_defs.h b/src/nvim/tui/termkey/termkey_defs.h index 853d1cdd95..354cb17806 100644 --- a/src/nvim/tui/termkey/termkey_defs.h +++ b/src/nvim/tui/termkey/termkey_defs.h @@ -2,7 +2,11 @@ #include #include -#include + +#ifdef HAVE_UNIBILIUM +# include +#endif + #include #include "nvim/event/defs.h"