From: Paul Floyd Date: Wed, 27 Mar 2024 09:38:28 +0000 (+0100) Subject: Darwin regtest: fix build of memcheck rh2257546_128 and rh2257546_256 X-Git-Tag: VALGRIND_3_23_0~96 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4b2ee1b670ec8fa742282e1407e78d2ccc8c8a2;p=thirdparty%2Fvalgrind.git Darwin regtest: fix build of memcheck rh2257546_128 and rh2257546_256 No malloc.h --- diff --git a/memcheck/tests/amd64/rh2257546_128.c b/memcheck/tests/amd64/rh2257546_128.c index a405aa775..973fcdbfa 100644 --- a/memcheck/tests/amd64/rh2257546_128.c +++ b/memcheck/tests/amd64/rh2257546_128.c @@ -3,7 +3,11 @@ // See https://bugzilla.redhat.com/show_bug.cgi?id=2257546 #include +#if defined(__APPLE__) +#include +#else #include +#endif int main ( void ) { diff --git a/memcheck/tests/amd64/rh2257546_256.c b/memcheck/tests/amd64/rh2257546_256.c index 235005ca6..4b522c7e4 100644 --- a/memcheck/tests/amd64/rh2257546_256.c +++ b/memcheck/tests/amd64/rh2257546_256.c @@ -3,7 +3,11 @@ // See https://bugzilla.redhat.com/show_bug.cgi?id=2257546 #include +#if defined(__APPLE__) +#include +#else #include +#endif int main ( void ) {