aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorb-r-o-c-k <brockmammen@gmail.com>2018-02-28 19:14:27 -0600
committerb-r-o-c-k <brockmammen@gmail.com>2018-02-28 19:37:58 -0600
commitf04b53aa24f7b6f1f4cdcdf08fcdd600472b0bab (patch)
tree5ef2f92d3650bd07dc301e8b614e69fa19cb883a
parentd99f8feea3cf74b76352b7fbdcb32ec7a53fdc39 (diff)
downloadrneovim-f04b53aa24f7b6f1f4cdcdf08fcdd600472b0bab.tar.gz
rneovim-f04b53aa24f7b6f1f4cdcdf08fcdd600472b0bab.tar.bz2
rneovim-f04b53aa24f7b6f1f4cdcdf08fcdd600472b0bab.zip
build/msvc: Move include into unix_defs.h
-rw-r--r--src/nvim/os/os_defs.h1
-rw-r--r--src/nvim/os/unix_defs.h5
2 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/os/os_defs.h b/src/nvim/os/os_defs.h
index 87f8d214bd..923a362b41 100644
--- a/src/nvim/os/os_defs.h
+++ b/src/nvim/os/os_defs.h
@@ -4,7 +4,6 @@
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
-#include <sys/param.h>
#include <sys/stat.h>
#include <sys/types.h>
diff --git a/src/nvim/os/unix_defs.h b/src/nvim/os/unix_defs.h
index 5c9daca476..27e64f20cf 100644
--- a/src/nvim/os/unix_defs.h
+++ b/src/nvim/os/unix_defs.h
@@ -1,9 +1,10 @@
#ifndef NVIM_OS_UNIX_DEFS_H
#define NVIM_OS_UNIX_DEFS_H
-// Windows doesn't have unistd.h, so we include it here to avoid numerous
-// instances of `#ifdef WIN32'.
+// Windows doesn't have the following headers,
+// so we include them here to avoid numerous instances of `#ifdef WIN32'.
#include <unistd.h>
+#include <sys/param.h>
// POSIX.1-2008 says that NAME_MAX should be in here
#include <limits.h>