diff --git a/include/compat/time.h b/include/compat/time.h index 8f08c9a..dc460ef 100644 --- a/include/compat/time.h +++ b/include/compat/time.h @@ -3,9 +3,6 @@ * sys/time.h compatibility shim */ -#ifndef LIBCRYPTOCOMPAT_TIME_H -#define LIBCRYPTOCOMPAT_TIME_H - #ifdef _MSC_VER #if _MSC_VER >= 1900 #include <../ucrt/time.h> @@ -16,6 +13,9 @@ #include_next #endif +#ifndef LIBCRYPTOCOMPAT_TIME_H +#define LIBCRYPTOCOMPAT_TIME_H + #ifdef _WIN32 struct tm *__gmtime_r(const time_t * t, struct tm * tm); #define gmtime_r(tp, tm) __gmtime_r(tp, tm)