rp2/mbedtls: Fix missing time.h include.

This commit is contained in:
hoihu 2022-08-29 08:00:37 +02:00 committed by Damien George
parent b74eeee5e0
commit 85a25895ff
1 changed files with 1 additions and 0 deletions

View File

@ -106,6 +106,7 @@ void m_tracked_free(void *ptr);
#define MBEDTLS_PLATFORM_SNPRINTF_MACRO snprintf
// Time hook
#include <time.h>
time_t rp2_rtctime_seconds(time_t *timer);
#define MBEDTLS_PLATFORM_TIME_MACRO rp2_rtctime_seconds