summaryrefslogtreecommitdiff
path: root/lib/libc/devctl/posix_devctl.c
diff options
context:
space:
mode:
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,