summaryrefslogtreecommitdiff
path: root/userland/libc/include/syscall.h
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-04-29 22:00:55 +0200
committerAnton Kling <anton@kling.gg>2024-04-29 22:00:55 +0200
commit231301a6190605bd3ced4d961ee0d5d3fcd49d65 (patch)
tree8af67c28f9b638393f700fbaf2c9e33fd97a8b46 /userland/libc/include/syscall.h
parent7d2ab3a71f4bda9d8ee997764d98b29e13a902c5 (diff)
Kernel/IRC: Add setsockopt and move IRC client to use new socket interface
Diffstat (limited to 'userland/libc/include/syscall.h')
-rw-r--r--userland/libc/include/syscall.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/userland/libc/include/syscall.h b/userland/libc/include/syscall.h
index f318955..dcc4742 100644
--- a/userland/libc/include/syscall.h
+++ b/userland/libc/include/syscall.h
@@ -1,8 +1,8 @@
#ifndef SYSCALL_H
#define SYSCALL_H
-#include "socket.h"
#include <stddef.h>
#include <stdint.h>
+#include <sys/socket.h>
#include <sys/types.h>
#define SYS_OPEN 0
@@ -60,6 +60,7 @@
#define SYS_OPEN_PROCESS 49
#define SYS_LSEEK 50
#define SYS_CONNECT 51
+#define SYS_SETSOCKOPT 52
int syscall(uint32_t eax, uint32_t ebx, uint32_t ecx, uint32_t edx,
uint32_t esi, uint32_t edi);