From 226d861c9ebb7f09f95665d07d9ab5c6b7ed7d6f Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Thu, 3 Oct 2024 15:08:45 +0200 Subject: libc: small changes --- userland/libc/include/sys/mman.h | 1 + userland/libc/include/sys/time.h | 2 +- userland/libc/include/sys/ucontext.h | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) (limited to 'userland/libc/include/sys') 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 #include -#include #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 -- cgit v1.2.3