summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/kit.inl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/kit.inl.h b/include/kit.inl.h
index 06eaafd..c1c054c 100644
--- a/include/kit.inl.h
+++ b/include/kit.inl.h
@@ -339,6 +339,9 @@ uint64_t kit_atomic_fetch_add_explicit_64(uint64_t volatile *var,
# define _GNU_SOURCE
# endif
# include <time.h>
+# ifndef TIME_UTC
+# define TIME_UTC 1
+# endif
# if !defined(_WIN32) || defined(__CYGWIN__)
# include <pthread.h>
# endif
@@ -2797,11 +2800,12 @@ void kit_ib_destroy(kit_ib_handle_t buf) {
#include <string.h>
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>