Fix redox build
Created by: huntergoldstein
Redox build was breaking for a number of reasons:
- Apparently the crate for Redox syscalls is just
syscall
, which is news to me -
libc
is only imported for Unix and non-redox, which means any case where we refer to alibc
constant needs to be behind acfg
- The Redox version of
watch_pid
had a different number of arguments