From: Viktor Szakats Date: Sun, 6 Jul 2025 13:16:49 +0000 (+0200) Subject: curl_memory.h: fix to undefine `accept4` X-Git-Tag: rc-8_15_0-3~35 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=9e17d281bfb1ebb1cb2511035f08b732e1e2d2ba;p=thirdparty%2Fcurl.git curl_memory.h: fix to undefine `accept4` Follow-up to 3d02872be7cfe6dcdef4b02321b47af19e1ce268 #16979 Cherry-picked from #17827 Closes #17831 --- 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