1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:17:35 +00:00

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
parent ee5b851f70
commit 0816bbe727
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