aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Reed <Pyrohh@users.noreply.github.com>2016-01-17 11:56:47 -0500
committerMichael Reed <Pyrohh@users.noreply.github.com>2016-01-17 11:56:47 -0500
commit3920e7680d6b68f2adff6c40b6c4c841addead6f (patch)
tree4cec6b2a3d2efd0f262a14f57a0fe09d66e75821 /src
parent55a345c3e750dc4e4e8fd44d7f836e67a35524a6 (diff)
parentd38d6486f25bdf12b4b9bb959c3e288c3246305d (diff)
downloadrneovim-3920e7680d6b68f2adff6c40b6c4c841addead6f.tar.gz
rneovim-3920e7680d6b68f2adff6c40b6c4c841addead6f.tar.bz2
rneovim-3920e7680d6b68f2adff6c40b6c4c841addead6f.zip
Merge pull request #4020 from sethjackson/uv-include
[RFC] Windows: Include <uv.h> for S_IFLNK
Diffstat (limited to 'src')
-rw-r--r--src/nvim/os/win_defs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/os/win_defs.h b/src/nvim/os/win_defs.h
index 642b038b6b..ba96347a12 100644
--- a/src/nvim/os/win_defs.h
+++ b/src/nvim/os/win_defs.h
@@ -5,6 +5,10 @@
#include <sys/stat.h>
#include <stdio.h>
+// Windows does not have S_IFLNK but libuv defines it
+// and sets the flag for us when calling uv_fs_stat.
+#include <uv.h>
+
#define NAME_MAX _MAX_PATH
#define TEMP_DIR_NAMES {"$TMP", "$TEMP", "$USERPROFILE", ""}