More Solaris additions.

Scanning through the sources I found some places where declarations for Solaris
are missing. This is not complete!