fix: fix broken wasmtime build

Regression from 2a7d0ed614, 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.
This commit is contained in:
dundargoc 2024-12-23 15:14:40 +01:00 committed by dundargoc
parent 2a7d0ed614
commit 25abcd243e

View File

@ -17,6 +17,8 @@
#ifdef HAVE_WASMTIME
# include <wasm.h>
# include "nvim/os/fs.h"
#endif
#include "nvim/api/private/helpers.h"