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:
parent
ee5b851f70
commit
0816bbe727
4 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue