aboutsummaryrefslogtreecommitdiff
path: root/include/kpl.h
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-10-17 15:41:01 -0400
committernodist <kevin.comas.git@gmail.com>2026-10-17 15:41:01 -0400
commit801aeb9172136ca93a4603fcf8dcf8e19a1522fe (patch)
tree3e55e80388c53188d042bb3ced3dad36c510abf9 /include/kpl.h
parent6673bb9357b9ed8187f3dcb2917e2c6a9da25ee7 (diff)
add io_uring
Diffstat (limited to 'include/kpl.h')
-rw-r--r--include/kpl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/kpl.h b/include/kpl.h
index 1d53bef..7c5e209 100644
--- a/include/kpl.h
+++ b/include/kpl.h
@@ -7,6 +7,7 @@
#define KPL_VERSION "0.0.0"
// System includes
+#define _GNU_SOURCE
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
@@ -14,11 +15,13 @@
#include <stddef.h>
#include <string.h>
#include <ctype.h>
+#include <errno.h>
#include <limits.h>
#include <pthread.h>
#include <semaphore.h>
#include <fcntl.h>
#include <unistd.h>
+#include <sys/syscall.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
@@ -32,7 +35,7 @@
#endif
// KPL forward declarations
-typedef struct _kpl_task kpl_task;
+typedef struct _kpl_object_task kpl_object_task;
typedef struct _kpl_thread kpl_thread;
@@ -44,4 +47,5 @@ typedef struct _kpl_env kpl_env;
#include "kpl/object.h"
#include "kpl/tree.h"
#include "kpl/memory.h"
+#include "kpl/io.h"
#include "kpl/env.h"