From 8f938a3eb3ae9e02329acc14efedd666d526cd9e Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 30 Jul 2025 03:56:24 +0200 Subject: [PATCH] try fix 1 AM Alpine MUSL https-rr c-ares: ``` ../../../lib/memdebug.h:40:59: error: expected declaration specifiers or '...' before numeric constant 40 | #define calloc(nbelem,size) curl_dbg_calloc(nbelem, size, __LINE__, __FILE__) | ^~~~~~~~ ../../../lib/memdebug.h:40:69: error: expected declaration specifiers or '...' before string constant 40 | #define calloc(nbelem,size) curl_dbg_calloc(nbelem, size, __LINE__, __FILE__) | ^~~~~~~~ ../../../lib/memdebug.h:44:38: error: expected declaration specifiers or '...' before numeric constant 44 | #define free(ptr) curl_dbg_free(ptr, __LINE__, __FILE__) | ^~~~~~~~ ../../../lib/memdebug.h:44:48: error: expected declaration specifiers or '...' before string constant 44 | #define free(ptr) curl_dbg_free(ptr, __LINE__, __FILE__) | ^~~~~~~~ ``` https://github.com/curl/curl/actions/runs/16610859929/job/46993519059?pr=18066#step:38:59 --- tests/libtest/cli_hx_download.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/libtest/cli_hx_download.c b/tests/libtest/cli_hx_download.c index fc7f591bc7..fdeb24bbfd 100644 --- a/tests/libtest/cli_hx_download.c +++ b/tests/libtest/cli_hx_download.c @@ -24,7 +24,6 @@ #include "first.h" #include "testtrace.h" -#include "memdebug.h" #if defined(USE_QUICHE) || defined(USE_OPENSSL) #include @@ -44,6 +43,7 @@ #include #endif +#include "memdebug.h" static int verbose_d = 1;