While I wanted to compile php5 under Solaris 10, I scratched my head upon this compilation error:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
The solution was simple, but as I loose some time to find it, I’m sharing it here:
# cd /usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/install-tools # ./mkheaders
HTH