diff options
| -rw-r--r-- | src/nvim/os/win_defs.h | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/os/win_defs.h b/src/nvim/os/win_defs.h index 32960dfbe9..16cddc110f 100644 --- a/src/nvim/os/win_defs.h +++ b/src/nvim/os/win_defs.h @@ -2,6 +2,7 @@  #define NVIM_OS_WIN_DEFS_H  #include <windows.h> +#include <sys/stat.h>  #define TEMP_DIR_NAMES {"$TMP", "$TEMP", "$USERPROFILE", ""}  #define TEMP_FILE_PATH_MAXLEN _MAX_PATH @@ -15,6 +16,9 @@  # ifndef restrict  #  define restrict __restrict  # endif +# ifndef S_IXUSR +#  define S_IXUSR S_IEXEC +# endif  #endif  #ifdef _MSC_VER  | 
