mbedtls: fix missing mbedtls_time_t bug in mbedtls 2.3.0
[openwrt/openwrt.git] / package / libs / mbedtls / patches / 001-Fixes_missing_dependency_in_ssl.patch
1 From 7247f99b3e068a2b90b7776a2cdd438fddb7a38b Mon Sep 17 00:00:00 2001
2 From: James Cowgill <james410@cowgill.org.uk>
3 Date: Mon, 11 Jul 2016 13:57:05 +0100
4 Subject: [PATCH] Fixes missing dependency in ss.h on platform.h
5
6 Fixes #522 - 'mbedtls_time_t does not name a type in ssl.h'
7 ---
8 include/mbedtls/ssl.h | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11 --- a/include/mbedtls/ssl.h
12 +++ b/include/mbedtls/ssl.h
13 @@ -54,7 +54,7 @@
14 #endif
15
16 #if defined(MBEDTLS_HAVE_TIME)
17 -#include <time.h>
18 +#include "platform.h"
19 #endif
20
21 /*