solaris: clean up includes

snprintf is in stdio.h
Compilation tested on SunOS 5.10

No drive test was done, no physical access to machine.