diff --git a/src/internal.c b/src/internal.c index 0c3396cf5..36c7722fe 100644 --- a/src/internal.c +++ b/src/internal.c @@ -5978,14 +5978,14 @@ ProtocolVersion MakeDTLSv1_2(void) #else /* Posix style time */ + #ifndef USER_TIME #include + #endif word32 LowResTimer(void) { - return (word32)time(0); + return (word32)XTIME(0); } - - #endif