tests: libtests and unit tests need explicit #include memdebug

... as otherwise they do not monitor the resource use within the test
files - until they are unity built.

Closes #15007
This commit is contained in:
Daniel Stenberg 2024-09-22 20:36:04 +02:00
parent 7307c1a289
commit 44fc2687b1
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
5 changed files with 5 additions and 2 deletions

View File

@ -24,6 +24,7 @@
#include "test.h"
#include "testtrace.h"
#include "memdebug.h"
#ifdef USE_WEBSOCKETS

View File

@ -22,8 +22,8 @@
*
***************************************************************************/
#include "curlcheck.h"
#include "bufref.h"
#include "memdebug.h"
static struct bufref bufref;

View File

@ -49,7 +49,7 @@
#include "multiif.h"
#include "select.h"
#include "curl_trc.h"
#include "memdebug.h"
static CURL *easy;

View File

@ -23,6 +23,7 @@
***************************************************************************/
#include "curlcheck.h"
#include "curl_path.h"
#include "memdebug.h"
static CURLcode unit_setup(void)
{

View File

@ -23,6 +23,7 @@
***************************************************************************/
#include "curlcheck.h"
#include "curl_get_line.h"
#include "memdebug.h"
#if !defined(CURL_DISABLE_COOKIES) || !defined(CURL_DISABLE_ALTSVC) || \
!defined(CURL_DISABLE_HSTS) || !defined(CURL_DISABLE_NETRC)