On Sat, Jul 02, 2016 at 08:32:53PM +0200, Thomas Glanzmann wrote:
> Hello,
> when I compile libcurl with mbedtls-2.3.0 I hit the following libcurl
> compile regression:
> 
> In file included from ../lib/urldata.h:98:0,
>                  from vtls/darwinssl.c:31:
> /home/sithglan/work/vlconnect/curl/../local/win32/include/mbedtls/ssl.h:545:5:
>  error: unknown type name 'mbedtls_time_t'
>      mbedtls_time_t start;       /*!< starting time      */
>      ^
> Makefile:2073: recipe for target 'vtls/libcurl_la-darwinssl.lo' failed
> make[2]: *** [vtls/libcurl_la-darwinssl.lo] Error 1

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.

>>> Dan
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html

Reply via email to