Skip to content

Commit

Permalink
rp2/mbedtls: Fix missing time.h include.
Browse files Browse the repository at this point in the history
  • Loading branch information
hoihu authored and dpgeorge committed Aug 30, 2022
1 parent b74eeee commit 85a2589
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ports/rp2/mbedtls/mbedtls_config.h
Expand Up @@ -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

Expand Down

0 comments on commit 85a2589

Please sign in to comment.