aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2015-12-07 03:16:03 -0500
committerJustin M. Keyes <justinkz@gmail.com>2015-12-07 03:16:03 -0500
commit6d583f85875499fbe05b549a1c0ac57b9ededd3d (patch)
treeb8d68aa76d9f8a79e2871e411c3e9c0b7bdd39f9 /src
parentf838755fc0c879c2beb2de51fdc384e99769e4ac (diff)
parent07eaff7c26af9a6ee7a972974a5d48bd544c743a (diff)
downloadrneovim-6d583f85875499fbe05b549a1c0ac57b9ededd3d.tar.gz
rneovim-6d583f85875499fbe05b549a1c0ac57b9ededd3d.tar.bz2
rneovim-6d583f85875499fbe05b549a1c0ac57b9ededd3d.zip
Merge pull request #3780 from sethjackson/header-guards
Add missing guard for HAVE_UNISTD_H
Diffstat (limited to 'src')
-rw-r--r--src/nvim/shada.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/shada.c b/src/nvim/shada.c
index e21c6f17fe..20fe27c370 100644
--- a/src/nvim/shada.c
+++ b/src/nvim/shada.c
@@ -10,7 +10,9 @@
#include <stdint.h>
#include <inttypes.h>
#include <errno.h>
-#include <unistd.h>
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
#include <assert.h>
#include <msgpack.h>