diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2016-05-24 12:14:18 +0200 | 
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2016-05-24 12:14:18 +0200 | 
| commit | b15a17c702eff70c79b384c07d20272c2495d583 (patch) | |
| tree | b90f5376b799033c469500ff9df9a75e1b4b8052 /lib | |
| parent | 0a2422753f4849988cd9e86e835597cd34c14c83 (diff) | |
mbedtls: fix includes so snprintf() works
Regression from the previous *printf() rearrangements, this file missed to
include the correct header to make sure snprintf() works universally.
Reported-by: Moti Avrahami
Bug: https://curl.haxx.se/mail/lib-2016-05/0196.html
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/vtls/mbedtls.c | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/lib/vtls/mbedtls.c b/lib/vtls/mbedtls.c index 6fc7214ac..ef0b9492a 100644 --- a/lib/vtls/mbedtls.c +++ b/lib/vtls/mbedtls.c @@ -53,10 +53,9 @@  #include "rawstr.h"  #include "polarssl_threadlock.h" -#define _MPRINTF_REPLACE /* use our functions only */ -#include <curl/mprintf.h> +/* The last 3 #include files should be in this order */ +#include "curl_printf.h"  #include "curl_memory.h" -/* The last #include file should be: */  #include "memdebug.h"  /* apply threading? */ | 
