diff options
Diffstat (limited to 'src/kernel/syscall/actions/sys_wait.c')
-rw-r--r-- | src/kernel/syscall/actions/sys_wait.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kernel/syscall/actions/sys_wait.c b/src/kernel/syscall/actions/sys_wait.c index 7cea24f..6015b8b 100644 --- a/src/kernel/syscall/actions/sys_wait.c +++ b/src/kernel/syscall/actions/sys_wait.c @@ -1,7 +1,10 @@ +#include <stdint.h> #include <tasks/process.h> +#include <io/io.h> u32 sys_wait(u32 pid, u32 *status, u32 options) { + sti(); u32 ret; if (pid < 0) { // Wait for any process in gid to die |