diff options
Diffstat (limited to 'userland/libc/include/sys')
-rw-r--r-- | userland/libc/include/sys/mman.h | 1 | ||||
-rw-r--r-- | userland/libc/include/sys/time.h | 2 | ||||
-rw-r--r-- | userland/libc/include/sys/ucontext.h | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/userland/libc/include/sys/mman.h b/userland/libc/include/sys/mman.h index d60997d..91ee816 100644 --- a/userland/libc/include/sys/mman.h +++ b/userland/libc/include/sys/mman.h @@ -7,6 +7,7 @@ #define PROT_READ (1 << 0) #define PROT_WRITE (1 << 1) +#define PROT_EXEC (1 << 2) #define MAP_PRIVATE (1 << 0) #define MAP_ANONYMOUS (1 << 1) diff --git a/userland/libc/include/sys/time.h b/userland/libc/include/sys/time.h index a675d9e..4f5cbd7 100644 --- a/userland/libc/include/sys/time.h +++ b/userland/libc/include/sys/time.h @@ -2,9 +2,9 @@ #define TIME_H #include <stddef.h> #include <sys/types.h> -#include <time.h> #define CLOCK_REALTIME 0 +#define CLOCK_MONOTONIC_RAW 1 struct tm { int tm_sec; diff --git a/userland/libc/include/sys/ucontext.h b/userland/libc/include/sys/ucontext.h index e69de29..5fdbd63 100644 --- a/userland/libc/include/sys/ucontext.h +++ b/userland/libc/include/sys/ucontext.h @@ -0,0 +1 @@ +#include <ucontext.h> |