diff --git a/include/compat/time.h b/include/compat/time.h index 68b00a6..3ef3bad 100644 --- a/include/compat/time.h +++ b/include/compat/time.h @@ -13,3 +13,7 @@ #else #include_next #endif + +#ifdef _WIN32 +#define timegm(tm) _mkgmtime(tm) +#endif