diff options
author | Rui Abreu Ferreira <raf-ep@gmx.com> | 2015-10-17 02:22:32 +0100 |
---|---|---|
committer | Seth Jackson <sethjackson@gmail.com> | 2015-12-02 19:54:33 -0500 |
commit | 07eaff7c26af9a6ee7a972974a5d48bd544c743a (patch) | |
tree | 978732941d51efcee45942db3f6483f3ece79a62 /src | |
parent | 0ee33981e8967bab75427214b432e22ebcf40d6f (diff) | |
download | rneovim-07eaff7c26af9a6ee7a972974a5d48bd544c743a.tar.gz rneovim-07eaff7c26af9a6ee7a972974a5d48bd544c743a.tar.bz2 rneovim-07eaff7c26af9a6ee7a972974a5d48bd544c743a.zip |
Add missing guard for HAVE_UNISTD_H
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/shada.c | 4 |
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> |