Hello Dan, * Dan Fandrich <[email protected]> [2016-07-02 21:30]: > > /home/sithglan/work/vlconnect/curl/../local/win32/include/mbedtls/ssl.h:545:5: > > error: unknown type name 'mbedtls_time_t'
> This looks like an mbedtls problem. A client #including an mbedtls > include file (mbedtls/ssl.h in this case) should have all its > dependent types defined, unless it's documented that users need to > include another header file first. I agree. The mbedtls folks already had a bug in their issue tracker. https://github.com/ARMmbed/mbedtls/issues/522 I asked them to apply it upstream. Here is the fix: diff --git a/include/mbedtls/ssl.h b/include/mbedtls/ssl.h index 82c0760..170c010 100644 --- a/include/mbedtls/ssl.h +++ b/include/mbedtls/ssl.h @@ -52,7 +52,7 @@ #endif #if defined(MBEDTLS_HAVE_TIME) -#include <time.h> +#include "platform.h" #endif /* -- 2.1.4 Cheers, Thomas ------------------------------------------------------------------- List admin: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html
