Commit b15a17c7 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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
parent 0a242275
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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? */