diff options
Diffstat (limited to 'lib/libc/sem/semctl.c')
| -rw-r--r-- | lib/libc/sem/semctl.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/libc/sem/semctl.c b/lib/libc/sem/semctl.c index 78a1adf8..45b6d0e5 100644 --- a/lib/libc/sem/semctl.c +++ b/lib/libc/sem/semctl.c @@ -1,8 +1,10 @@ -#include <stdarg.h> -#include <stddef.h> -#include <sys/ipc.h> -#include <sys/sem.h> -#include <syscall.h> +#include "asm/unistd_64.h" // for __NR_semctl + +#include <stdarg.h> // for va_arg, va_end, va_list, va_start +#include <stddef.h> // for NULL +#include <sys/ipc.h> // for IPC_SET, IPC_STAT +#include <sys/sem.h> // for GETALL, SETALL, SETVAL, semctl +#include <syscall.h> // for __syscall_4, syscall int semctl(int semid, int semnum, int cmd, ...) { |
