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