From b5cd18739a64c8d923a55b61c89ae3900faafd84 Mon Sep 17 00:00:00 2001 From: Kacper Date: Tue, 9 Dec 2025 21:17:12 +0100 Subject: Fix include paths and formatting inconsistencies --- lib/libc/socket/accept4.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/libc/socket/accept4.c') diff --git a/lib/libc/socket/accept4.c b/lib/libc/socket/accept4.c index 8171098b..88c761f5 100644 --- a/lib/libc/socket/accept4.c +++ b/lib/libc/socket/accept4.c @@ -1,5 +1,7 @@ -#include -#include +#include "asm/unistd_64.h" // for __NR_accept4 + +#include // for accept4, socklen_t +#include // for __syscall_4, syscall int accept4(int socket, struct sockaddr *restrict address, socklen_t *restrict address_len, int flag) -- cgit v1.2.3