From 25abcd243e413f960a7a58a44689e8bfbbc3dec7 Mon Sep 17 00:00:00 2001 From: dundargoc Date: Mon, 23 Dec 2024 15:14:40 +0100 Subject: fix: fix broken wasmtime build Regression from 2a7d0ed6145bf3f8b139c2694563f460f829813a, which removed header that is only needed if wasmtime support is enabled. Prevent this from happening again by wrapping the include in a `HAVE_WASMTIME` check. --- src/nvim/lua/treesitter.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/nvim/lua') diff --git a/src/nvim/lua/treesitter.c b/src/nvim/lua/treesitter.c index 3e5d3e24fe..28ad2cf4d3 100644 --- a/src/nvim/lua/treesitter.c +++ b/src/nvim/lua/treesitter.c @@ -17,6 +17,8 @@ #ifdef HAVE_WASMTIME # include + +# include "nvim/os/fs.h" #endif #include "nvim/api/private/helpers.h" -- cgit