diff --git a/lib/memdebug.h b/lib/memdebug.h index 2ee523327c..03f154a1ef 100644 --- a/lib/memdebug.h +++ b/lib/memdebug.h @@ -2,6 +2,9 @@ #include #include +#ifdef HAVE_MEMORY_H +#include +#endif /* memory functions */ void *curl_domalloc(size_t size, int line, char *source);