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/creat.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lib/libc/fcntl/creat.c') diff --git a/lib/libc/fcntl/creat.c b/lib/libc/fcntl/creat.c index fdcb6655..43110794 100644 --- a/lib/libc/fcntl/creat.c +++ b/lib/libc/fcntl/creat.c @@ -1,5 +1,8 @@ -#include -#include +#include "asm/unistd_64.h" // for __NR_creat + +#include // for creat +#include // for mode_t +#include // for __syscall_2, syscall int creat(const char *path, mode_t mode) { -- cgit v1.2.3