The Ubuntu equivalent would be libc6-dev, but I can\'t seem to find it for Solaris?
libc6-dev
How can I get types.h and related files for building packages on Solaris
You need the system/header package.
I found this via http://pkg.oracle.com/solaris/release/en/search.shtml?token=types.h&action=Search