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/devctl/posix_devctl.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'lib/libc/devctl/posix_devctl.c') diff --git a/lib/libc/devctl/posix_devctl.c b/lib/libc/devctl/posix_devctl.c index b7c24d79..90eea9f9 100644 --- a/lib/libc/devctl/posix_devctl.c +++ b/lib/libc/devctl/posix_devctl.c @@ -1,7 +1,9 @@ -#include -#include -#include -#include +#include "asm/unistd_64.h" // for __NR_ioctl + +#include // for posix_devctl, size_t +#include // for errno +#include // for __unused +#include // for __syscall_3, syscall int posix_devctl(int fildes, int dcmd, void *restrict dev_data_ptr, size_t __unused nbyte, int *restrict dev_info_ptr) -- cgit v1.2.3