From e301c931541c21198951ecf03f7c51737136b186 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 8 Jul 2025 18:15:58 +0200 Subject: [PATCH] move memdebug.h from first.c to first.h --- tests/libtest/first.c | 2 -- tests/libtest/first.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/libtest/first.c b/tests/libtest/first.c index 0ca736668b..5651b50958 100644 --- a/tests/libtest/first.c +++ b/tests/libtest/first.c @@ -27,8 +27,6 @@ #include /* for setlocale() */ #endif -#include "memdebug.h" - int select_wrapper(int nfds, fd_set *rd, fd_set *wr, fd_set *exc, struct timeval *tv) { diff --git a/tests/libtest/first.h b/tests/libtest/first.h index a909290024..e64c87e269 100644 --- a/tests/libtest/first.h +++ b/tests/libtest/first.h @@ -54,6 +54,8 @@ extern int unitfail; /* for unittests */ #include "curl_printf.h" +#include "memdebug.h" + /* GCC <4.6 does not support '#pragma GCC diagnostic push' and does not support 'pragma GCC diagnostic' inside functions. */ #if (defined(__GNUC__) && \