LibCore: Use accept instead of accept4 on Haiku

This commit is contained in:
nipos 2023-08-27 21:11:12 +02:00 committed by Andrew Kaster
commit 0816bbe727
Notes: sideshowbarker 2024-07-19 16:51:33 +09:00
4 changed files with 6 additions and 6 deletions

View file

@ -105,7 +105,7 @@ ErrorOr<Optional<struct spwd>> getspent();
ErrorOr<Optional<struct spwd>> getspnam(StringView name);
#endif
#ifndef AK_OS_MACOS
#if !defined(AK_OS_MACOS) && !defined(AK_OS_HAIKU)
ErrorOr<int> accept4(int sockfd, struct sockaddr*, socklen_t*, int flags);
#endif