sunwait
Fix build errors on osx

Changes

2 changed files (+9/-6)