aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/hash.c7
-rw-r--r--lib/multi.c5
2 files changed, 9 insertions, 3 deletions
diff --git a/lib/hash.c b/lib/hash.c
index 3fcb44e4f..f7d072482 100644
--- a/lib/hash.c
+++ b/lib/hash.c
@@ -28,9 +28,12 @@
#include "hash.h"
#include "llist.h"
-#include "memory.h"
-/* this must be the last include file */
+#define _MPRINTF_REPLACE /* use our functions only */
+#include <curl/mprintf.h>
+
+#include "memory.h"
+/* The last #include file should be: */
#include "memdebug.h"
static void
diff --git a/lib/multi.c b/lib/multi.c
index e503a11a2..a91c8d766 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -37,13 +37,16 @@
#include "url.h"
#include "connect.h"
#include "progress.h"
-#include "memory.h"
#include "easyif.h"
#include "multiif.h"
#include "sendf.h"
#include "timeval.h"
#include "http.h"
+#define _MPRINTF_REPLACE /* use our functions only */
+#include <curl/mprintf.h>
+
+#include "memory.h"
/* The last #include file should be: */
#include "memdebug.h"