]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tests: libtests and unit tests need explicit #include memdebug
authorDaniel Stenberg <daniel@haxx.se>
Sun, 22 Sep 2024 18:36:04 +0000 (20:36 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 22 Sep 2024 19:25:31 +0000 (21:25 +0200)
... as otherwise they do not monitor the resource use within the test
files - until they are unity built.

Closes #15007

tests/libtest/lib2305.c
tests/unit/unit1661.c
tests/unit/unit2600.c
tests/unit/unit2604.c
tests/unit/unit3200.c

index 2ec9c3e7f298c729d6149263e8aba4a1d9bc4cb2..b44771792b7041232732750edec8b38721f036bd 100644 (file)
@@ -24,6 +24,7 @@
 
 #include "test.h"
 #include "testtrace.h"
+#include "memdebug.h"
 
 #ifdef USE_WEBSOCKETS
 
index 4ba57e4c54d2d909c7b20e226e29e90b7e6805f6..836e52f1a4f586cedf5cf88610fd99ca9b06525a 100644 (file)
@@ -22,8 +22,8 @@
  *
  ***************************************************************************/
 #include "curlcheck.h"
-
 #include "bufref.h"
+#include "memdebug.h"
 
 static struct bufref bufref;
 
index fdc15f6bf480017fe9a354cf832e6f8d0319b536..352cdefbf2e97146290d50563ed69c4f56408ae1 100644 (file)
@@ -49,7 +49,7 @@
 #include "multiif.h"
 #include "select.h"
 #include "curl_trc.h"
-
+#include "memdebug.h"
 
 static CURL *easy;
 
index fb8405a6b66e1c99658fc25de03af7f77d67cd54..0d6de60139dd5a42d5a1d98fc167ce10115556cf 100644 (file)
@@ -23,6 +23,7 @@
  ***************************************************************************/
 #include "curlcheck.h"
 #include "curl_path.h"
+#include "memdebug.h"
 
 static CURLcode unit_setup(void)
 {
index 223078dda65a3fd70899965f6d4cd79511e0d6af..ee478e2ad26bf88f9abc2e2ee22bd6f09fbcba84 100644 (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)