diff options
author | Rui Abreu Ferreira <raf-ep@gmx.com> | 2016-01-16 15:14:15 -0500 |
---|---|---|
committer | Seth Jackson <sethjackson@gmail.com> | 2016-01-17 09:33:23 -0500 |
commit | 809927508293f74fc8aa545fd4ee615b103a6edd (patch) | |
tree | 5e3fe855e6190bd6609cc882b0fb08fa124cec57 | |
parent | 55a345c3e750dc4e4e8fd44d7f836e67a35524a6 (diff) | |
download | rneovim-809927508293f74fc8aa545fd4ee615b103a6edd.tar.gz rneovim-809927508293f74fc8aa545fd4ee615b103a6edd.tar.bz2 rneovim-809927508293f74fc8aa545fd4ee615b103a6edd.zip |
Windows: include <io.h>.
if_csope.c uses _open_osfhandle so include the necessary header.
Futher we need <io.h> for read/write/close/lseek.
See: https://msdn.microsoft.com/en-us/library/bdts1c9x.aspx
-rw-r--r-- | src/nvim/os/win_defs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/os/win_defs.h b/src/nvim/os/win_defs.h index 642b038b6b..ca3cf5d896 100644 --- a/src/nvim/os/win_defs.h +++ b/src/nvim/os/win_defs.h @@ -3,6 +3,7 @@ #include <windows.h> #include <sys/stat.h> +#include <io.h> #include <stdio.h> #define NAME_MAX _MAX_PATH |