diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2023-09-05 11:22:56 +0200 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2023-09-05 11:22:56 +0200 |
commit | dea35ce434458925349a30cedb6a4dc3b9064a61 (patch) | |
tree | 90199677b0b171825d66842d55657c74a50525e2 /include | |
parent | 3ff55995c30a583030eb90db986a26e84472596e (diff) | |
download | kit-dea35ce434458925349a30cedb6a4dc3b9064a61.zip |
Update build scirpt
Diffstat (limited to 'include')
-rw-r--r-- | include/kit.inl.h | 6 |
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> |