summaryrefslogtreecommitdiff
path: root/lib/libc/devctl/posix_devctl.c
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-09 23:14:53 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-09 23:14:53 +0100
commit169daa11155988a210fac949297381743f3cb400 (patch)
tree602ef5df5ae9ea075ab3d5dac3c8ad60da1ea2cc /lib/libc/devctl/posix_devctl.c
parent4e2112e165fdd94dee58378e3ea32892f3710cd7 (diff)
feat: clang-tidy fixes
Diffstat (limited to 'lib/libc/devctl/posix_devctl.c')
-rw-r--r--lib/libc/devctl/posix_devctl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/devctl/posix_devctl.c b/lib/libc/devctl/posix_devctl.c
index 90eea9f9..1b9db522 100644
--- a/lib/libc/devctl/posix_devctl.c
+++ b/lib/libc/devctl/posix_devctl.c
@@ -1,8 +1,10 @@
-#include "asm/unistd_64.h" // for __NR_ioctl
+
+
#include <devctl.h> // for posix_devctl, size_t
#include <errno.h> // for errno
#include <libc.h> // for __unused
+#include <stddef.h>
#include <syscall.h> // for __syscall_3, syscall
int posix_devctl(int fildes, int dcmd, void *restrict dev_data_ptr,