summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/kit/file.c3
-rw-r--r--source/kit/mutex.h4
2 files changed, 7 insertions, 0 deletions
diff --git a/source/kit/file.c b/source/kit/file.c
index 2d52e92..fcc2780 100644
--- a/source/kit/file.c
+++ b/source/kit/file.c
@@ -11,7 +11,10 @@ enum { PATH_BUF_SIZE = 4096 };
# define WIN32_LEAN_AND_MEAN 1
# endif
# include <stdint.h>
+
# include <Windows.h>
+
+# include <Shlwapi.h>
#else
# include <dirent.h>
# include <sys/stat.h>
diff --git a/source/kit/mutex.h b/source/kit/mutex.h
index ada3a5f..d427ea6 100644
--- a/source/kit/mutex.h
+++ b/source/kit/mutex.h
@@ -10,6 +10,10 @@
# include <time.h>
+# ifndef TIME_UTC
+# define TIME_UTC 1
+# endif
+
# if !defined(_WIN32) || defined(__CYGWIN__)
# include <pthread.h>
# endif