summaryrefslogtreecommitdiff
path: root/lib/libc/devctl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/devctl')
-rw-r--r--lib/libc/devctl/posix_devctl.c10
1 files changed, 6 insertions, 4 deletions
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 <libc.h>
-#include <devctl.h>
-#include <errno.h>
-#include <syscall.h>
+#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 <syscall.h> // 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)