diff options
Diffstat (limited to 'include/kpl.h')
| -rw-r--r-- | include/kpl.h | 6 |
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" |
