diff --git a/test/includes/pre/sys/fcntl.h b/test/includes/pre/fcntl.h similarity index 89% rename from test/includes/pre/sys/fcntl.h rename to test/includes/pre/fcntl.h index 767c97a631..9c50ed5b1d 100644 --- a/test/includes/pre/sys/fcntl.h +++ b/test/includes/pre/fcntl.h @@ -1,4 +1,4 @@ -#include +#include static const mode_t kO_RDONLY = O_RDONLY; static const mode_t kO_WRONLY = O_WRONLY; diff --git a/test/unit/os/fs_spec.lua b/test/unit/os/fs_spec.lua index 95c98f18a1..2f393d353d 100644 --- a/test/unit/os/fs_spec.lua +++ b/test/unit/os/fs_spec.lua @@ -22,7 +22,7 @@ cimport('./src/nvim/main.h') cimport('./src/nvim/fileio.h') local fs = cimport('./src/nvim/os/os.h') cppimport('sys/stat.h') -cppimport('sys/fcntl.h') +cppimport('fcntl.h') cppimport('uv-errno.h') local buffer = ""