summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2023-09-05 10:27:25 +0200
committerMitya Selivanov <automainint@guattari.tech>2023-09-05 10:27:25 +0200
commited007d3979b1c31845667d69f3506e297dd4aecc (patch)
tree2768036c78d170f4a6418de57f656154dae90668 /source
parent77c5276fcc3fbf0702e8e21f20d757be3501639f (diff)
downloadkit-ed007d3979b1c31845667d69f3506e297dd4aecc.zip
test
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>