From 9e17d281bfb1ebb1cb2511035f08b732e1e2d2ba Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sun, 6 Jul 2025 15:16:49 +0200 Subject: [PATCH] curl_memory.h: fix to undefine `accept4` Follow-up to 3d02872be7cfe6dcdef4b02321b47af19e1ce268 #16979 Cherry-picked from #17827 Closes #17831 --- lib/curl_memory.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/curl_memory.h b/lib/curl_memory.h index 0faf928617..df64786e8a 100644 --- a/lib/curl_memory.h +++ b/lib/curl_memory.h @@ -79,6 +79,9 @@ #undef socket #undef accept +#ifdef HAVE_ACCEPT4 +#undef accept4 +#endif #ifdef HAVE_SOCKETPAIR #undef socketpair #endif -- 2.47.3