From 4f18e0f678d117d48d57be286ccc93c50109edcf Mon Sep 17 00:00:00 2001 From: Seth Jackson Date: Sun, 17 Jan 2016 00:19:56 -0500 Subject: [PATCH] Windows: Include for file constants. This header is required by POSIX for the constants (O_RDONLY, etc.) but we were only including it on Unix systems as a side effect of including . --- src/nvim/ex_cmds2.c | 1 + src/nvim/fileio.c | 1 + src/nvim/if_cscope.c | 1 + src/nvim/memfile.c | 1 + src/nvim/memline.c | 1 + src/nvim/shada.c | 1 + src/nvim/undo.c | 1 + 7 files changed, 7 insertions(+) diff --git a/src/nvim/ex_cmds2.c b/src/nvim/ex_cmds2.c index 57153cf5a1..47774f5a99 100644 --- a/src/nvim/ex_cmds2.c +++ b/src/nvim/ex_cmds2.c @@ -6,6 +6,7 @@ #include #include #include +#include #include "nvim/vim.h" #include "nvim/ascii.h" diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c index 9069a46151..97360d1881 100644 --- a/src/nvim/fileio.c +++ b/src/nvim/fileio.c @@ -7,6 +7,7 @@ #include #include #include +#include #include "nvim/vim.h" #include "nvim/ascii.h" diff --git a/src/nvim/if_cscope.c b/src/nvim/if_cscope.c index 2a766734fe..d236501b3f 100644 --- a/src/nvim/if_cscope.c +++ b/src/nvim/if_cscope.c @@ -11,6 +11,7 @@ #include #include #include +#include #include "nvim/vim.h" #include "nvim/ascii.h" diff --git a/src/nvim/memfile.c b/src/nvim/memfile.c index 137c7c49d3..8cf5642a80 100644 --- a/src/nvim/memfile.c +++ b/src/nvim/memfile.c @@ -40,6 +40,7 @@ #include #include #include +#include #include "nvim/vim.h" #include "nvim/ascii.h" diff --git a/src/nvim/memline.c b/src/nvim/memline.c index c91a25df6e..f58b2ac38f 100644 --- a/src/nvim/memline.c +++ b/src/nvim/memline.c @@ -38,6 +38,7 @@ #include #include #include +#include #include "nvim/ascii.h" #include "nvim/vim.h" diff --git a/src/nvim/shada.c b/src/nvim/shada.c index 59ef2a0d28..dcdf2195f8 100644 --- a/src/nvim/shada.c +++ b/src/nvim/shada.c @@ -5,6 +5,7 @@ #include #include #include +#include #ifdef HAVE_UNISTD_H # include #endif diff --git a/src/nvim/undo.c b/src/nvim/undo.c index 69ac18ad54..6b60f95f22 100644 --- a/src/nvim/undo.c +++ b/src/nvim/undo.c @@ -77,6 +77,7 @@ #include #include #include +#include #include "nvim/vim.h" #include "nvim/ascii.h"