From b71ca15598725d74230d5b2b1834ecdad0748eb3 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 14 Oct 2003 13:10:05 +0000 Subject: [PATCH] Kimmo Kinnunen fixed a crash with duphandle() when CURLDEBUG was set --- lib/easy.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/easy.c b/lib/easy.c index f76df632b..6274812dd 100644 --- a/lib/easy.c +++ b/lib/easy.c @@ -80,6 +80,10 @@ #define _MPRINTF_REPLACE /* use our functions only */ #include +/* The last #include file should be: */ +#ifdef CURLDEBUG +#include "memdebug.h" +#endif /* Silly win32 socket initialization functions */