diff --git a/src/nvim/os/fs.h b/src/nvim/os/fs.h new file mode 100644 index 00000000000000..b03090dfeef674 --- /dev/null +++ b/src/nvim/os/fs.h @@ -0,0 +1,7 @@ +#ifndef NVIM_OS_FS_H +#define NVIM_OS_FS_H + +#ifdef INCLUDE_GENERATED_DECLARATIONS +# include "os/fs.h.generated.h" +#endif +#endif // NVIM_OS_FS_H diff --git a/test/unit/helpers.lua b/test/unit/helpers.lua index 465b5536937b2a..4dbcaa5347e742 100644 --- a/test/unit/helpers.lua +++ b/test/unit/helpers.lua @@ -96,6 +96,7 @@ local init = only_separate(function() c.func(unpack(c.args)) end libnvim.time_init() + libnvim.fs_init() libnvim.event_init() libnvim.early_init(nil) if child_calls_mod then @@ -778,7 +779,8 @@ local function cppimport(path) return cimport(Paths.test_source_path .. '/test/includes/pre/' .. path) end -cimport('./src/nvim/types.h', './src/nvim/main.h', './src/nvim/os/time.h') +cimport('./src/nvim/types.h', './src/nvim/main.h', './src/nvim/os/time.h', + './src/nvim/os/fs.h') local function conv_enum(etab, eval) local n = tonumber(eval)