Properly include syscall.h in parlib/event.h