Puts platform time abstraction into a own header

Places the platform time abstraction into a separate header file to
avoid dependency issues where a build may need time but not the libc
abstraction.
This commit is contained in:
Simon Butcher 2016-07-12 13:11:00 +01:00
parent 7247f99b3e
commit 8631143ae0
3 changed files with 87 additions and 34 deletions

View file

@ -52,7 +52,7 @@
#endif
#if defined(MBEDTLS_HAVE_TIME)
#include "platform.h"
#include "mbedtls/platform_time.h"
#endif
/*