Windows: Include <fcntl.h> 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 <unistd.h>.
This commit is contained in:
Seth Jackson
2016-01-17 00:19:56 -05:00
parent a7ade5c832
commit 4f18e0f678
7 changed files with 7 additions and 0 deletions

View File

@@ -11,6 +11,7 @@
#include <assert.h>
#include <errno.h>
#include <inttypes.h>
#include <fcntl.h>
#include "nvim/vim.h"
#include "nvim/ascii.h"