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/fcntl/open.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'lib/libc/fcntl/open.c') diff --git a/lib/libc/fcntl/open.c b/lib/libc/fcntl/open.c index dbdff8f9..c00820c1 100644 --- a/lib/libc/fcntl/open.c +++ b/lib/libc/fcntl/open.c @@ -1,6 +1,9 @@ -#include -#include -#include +#include "asm/unistd_64.h" // for __NR_fcntl, __NR_open + +#include // for FD_CLOEXEC, F_SETFD, O_CLOEXEC, O_CREAT +#include // for va_arg, va_end, va_list, va_start +#include // for mode_t +#include // for __syscall_3, syscall int open(const char *path, int oflag, ...) { -- cgit v1.2.3