diff options
author | dzwdz | 2022-07-26 19:31:06 +0200 |
---|---|---|
committer | dzwdz | 2022-07-26 19:31:06 +0200 |
commit | a3e27d361919392eeb0086ed93b105d8301c7913 (patch) | |
tree | 91996a17172b650416bda82a472336b9d0edcdf0 /src/user/lib/esemaphore.c | |
parent | 7a29c68ce0dc190cd6350746210441bc41d7da91 (diff) |
user: move the POSIX-y stuff to the proper header files
Diffstat (limited to 'src/user/lib/esemaphore.c')
-rw-r--r-- | src/user/lib/esemaphore.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/user/lib/esemaphore.c b/src/user/lib/esemaphore.c index 1da418e..3a4a836 100644 --- a/src/user/lib/esemaphore.c +++ b/src/user/lib/esemaphore.c @@ -1,7 +1,8 @@ #include <camellia/flags.h> #include <camellia/syscalls.h> +#include <stdlib.h> +#include <unistd.h> #include <user/lib/esemaphore.h> -#include <user/lib/stdlib.h> void esem_signal(struct evil_sem *sem) { _syscall_write(sem->signal, NULL, 0, 0); |