commit 25abcd243e413f960a7a58a44689e8bfbbc3dec7
parent 2a7d0ed6145bf3f8b139c2694563f460f829813a
Author: dundargoc <gocdundar@gmail.com>
Date: Mon, 23 Dec 2024 15:14:40 +0100
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.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/nvim/lua/treesitter.c b/src/nvim/lua/treesitter.c
@@ -17,6 +17,8 @@
#ifdef HAVE_WASMTIME
# include <wasm.h>
+
+# include "nvim/os/fs.h"
#endif
#include "nvim/api/private/helpers.h"