Skip to content

Commit 85a2589

Browse files
hoihudpgeorge
authored andcommitted
rp2/mbedtls: Fix missing time.h include.
1 parent b74eeee commit 85a2589

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ports/rp2/mbedtls/mbedtls_config.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ void m_tracked_free(void *ptr);
106106
#define MBEDTLS_PLATFORM_SNPRINTF_MACRO snprintf
107107

108108
// Time hook
109+
#include <time.h>
109110
time_t rp2_rtctime_seconds(time_t *timer);
110111
#define MBEDTLS_PLATFORM_TIME_MACRO rp2_rtctime_seconds
111112

0 commit comments

Comments
 (0)