mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-03-20 11:11:08 +01:00
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:
@@ -23,7 +23,9 @@ extern "C" {
|
||||
// Regular implementation
|
||||
//
|
||||
|
||||
#if defined(MBEDTLS_HAVE_TIME)
|
||||
#include <mbedtls/platform_time.h>
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \brief timer structure
|
||||
|
||||
Reference in New Issue
Block a user