Headers

Please include some extra headers, for portability

I'm doing a port of pkgng to darwin, and some system headers are missing from includes.