]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl_memory.h: fix to undefine `accept4`
authorViktor Szakats <commit@vsz.me>
Sun, 6 Jul 2025 13:16:49 +0000 (15:16 +0200)
committerViktor Szakats <commit@vsz.me>
Sun, 6 Jul 2025 18:08:58 +0000 (20:08 +0200)
Follow-up to 3d02872be7cfe6dcdef4b02321b47af19e1ce268 #16979
Cherry-picked from #17827
Closes #17831

lib/curl_memory.h

index 0faf9286174dfce726d1f13d5db3732a1e3bcbf1..df64786e8a94df111f6102022166eff61eb75426 100644 (file)
@@ -79,6 +79,9 @@
 
 #undef socket
 #undef accept
+#ifdef HAVE_ACCEPT4
+#undef accept4
+#endif
 #ifdef HAVE_SOCKETPAIR
 #undef socketpair
 #endif