summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/kit/file.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/kit/file.c b/source/kit/file.c
index 2d52e92..b9fabe2 100644
--- a/source/kit/file.c
+++ b/source/kit/file.c
@@ -7,11 +7,15 @@
enum { PATH_BUF_SIZE = 4096 };
#if defined(_WIN32) && !defined(__CYGWIN__)
+# include <stdint.h>
+
# ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN 1
# endif
-# include <stdint.h>
+
# include <Windows.h>
+
+# include <Shlwapi.h>
#else
# include <dirent.h>
# include <sys/stat.h>