summaryrefslogtreecommitdiff
path: root/lib/fileinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fileinfo.c')
-rw-r--r--lib/fileinfo.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/fileinfo.c b/lib/fileinfo.c
index c1c112743..f5dbfce4b 100644
--- a/lib/fileinfo.c
+++ b/lib/fileinfo.c
@@ -26,6 +26,13 @@
#include "strdup.h"
#include "fileinfo.h"
+#define _MPRINTF_REPLACE /* use our functions only */
+#include <curl/mprintf.h>
+
+#include "curl_memory.h"
+/* The last #include file should be: */
+#include "memdebug.h"
+
struct curl_fileinfo *Curl_fileinfo_alloc(void)
{
struct curl_fileinfo *tmp = malloc(sizeof(struct curl_fileinfo));