Added function prototype for printerrno
Mac OS X Support
Merge pull request #10 from Wouter92/master

Mac OS X Support
INTERMEDIATE MERGE: Merge remote-tracking branch 'origin/master' into jobs-on-background