From 900ccc26ae2eda8b56f69775b59678734a1c4f99 Mon Sep 17 00:00:00 2001 From: Gisle Vanem Date: Fri, 6 Sep 2013 13:56:35 +0200 Subject: http2: use correct include for snprintf Using the first little merge of nghttp2 into libcurl, I stumbeled on the missing 'snprintf' in MSVCRT. Isn't this how we do it for other libcurl files? I.e. use 'curl_msnprintf' and not 'snprintf' directly: --- lib/http2.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/http2.c b/lib/http2.c index 8882f1f80..21be17ba7 100644 --- a/lib/http2.c +++ b/lib/http2.c @@ -23,6 +23,9 @@ #include "curl_setup.h" #ifdef USE_NGHTTP2 +#define _MPRINTF_REPLACE +#include + #include #include "http2.h" -- cgit v1.2.3