diff --git a/reactos/lib/sdk/crt/time_new/ctime.c b/reactos/lib/sdk/crt/time_new/ctime.c index 0a4ff152fbc..3502b06fa6d 100644 --- a/reactos/lib/sdk/crt/time_new/ctime.c +++ b/reactos/lib/sdk/crt/time_new/ctime.c @@ -8,11 +8,15 @@ #define MINGW_HAS_SECURE_API 1 #include +#define __STDC_WANT_SECURE_LIB__ #include #include "bitsfixup.h" #define EINVAL -1 +/* Doesn't really exist, but we need it here */ +_CRTIMP errno_t __cdecl localtime_s(struct tm *_Tm,const time_t *_Time); + /****************************************************************************** * \name _tctime_s * \brief Converts a time_t value into a string.