aboutsummaryrefslogtreecommitdiff
path: root/lib/easy.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-10-14 13:10:05 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-10-14 13:10:05 +0000
commitb71ca15598725d74230d5b2b1834ecdad0748eb3 (patch)
tree5302fb0fc48678fd1057e0b0ab010e98c77b552c /lib/easy.c
parent1c604b7ba9a987ab376a1222668bd524e1a1ef99 (diff)
Kimmo Kinnunen fixed a crash with duphandle() when CURLDEBUG was set
Diffstat (limited to 'lib/easy.c')
-rw-r--r--lib/easy.c4
1 files changed, 4 insertions, 0 deletions
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 <curl/mprintf.h>
+/* The last #include file should be: */
+#ifdef CURLDEBUG
+#include "memdebug.h"
+#endif
/* Silly win32 socket initialization functions */