diff options
author | Seth Jackson <sethjackson@gmail.com> | 2016-01-17 09:47:26 -0500 |
---|---|---|
committer | Seth Jackson <sethjackson@gmail.com> | 2016-01-18 13:48:47 -0500 |
commit | 33321f2c856f04d2a928c89fed1b6d46012b0bc9 (patch) | |
tree | ca533fa9b10e2c7cdb9d6666f96e8d66028e9702 /src/nvim/log.c | |
parent | ee0e214427d7ed2a9fd8ffc85c424cfffc927408 (diff) | |
download | rneovim-33321f2c856f04d2a928c89fed1b6d46012b0bc9.tar.gz rneovim-33321f2c856f04d2a928c89fed1b6d46012b0bc9.tar.bz2 rneovim-33321f2c856f04d2a928c89fed1b6d46012b0bc9.zip |
config: Remove HAVE_UNISTD_H.
Unix systems must have this header but Windows does not have it at all.
Since src/nvim/os/unix_defs.h includes <unistd.h> without the guard
in order to avoid including this in the numerous places we would
need <unistd.h> on Unix we just include src/nvim/os/os.h which will pull
in <unistd.h> for us.
Diffstat (limited to 'src/nvim/log.c')
-rw-r--r-- | src/nvim/log.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nvim/log.c b/src/nvim/log.c index 5767da03af..773d497881 100644 --- a/src/nvim/log.c +++ b/src/nvim/log.c @@ -10,10 +10,6 @@ #include "nvim/os/os.h" #include "nvim/os/time.h" -#ifdef HAVE_UNISTD_H -# include <unistd.h> -#endif - #define USR_LOG_FILE "$HOME" _PATHSEPSTR ".nvimlog" static uv_mutex_t mutex; |