mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
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
This commit is contained in:
parent
0a2422753f
commit
b15a17c702
@ -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? */
|
||||
|
Loading…
Reference in New Issue
Block a user