Fix inclusion of <time.h> when MBEDTLS_HAVE_TIME is disabled

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine
2026-02-19 17:24:34 +01:00
parent e2b04b6847
commit ed642cab9e

View File

@@ -23,7 +23,9 @@ extern "C" {
// Regular implementation // Regular implementation
// //
#if defined(MBEDTLS_HAVE_TIME)
#include <mbedtls/platform_time.h> #include <mbedtls/platform_time.h>
#endif
/** /**
* \brief timer structure * \brief timer structure