minor fixes in snprintf and build system

fixed solaris build

fixed some includes

(0) -30 -10 -3 +3 +10 +30 +100 +300 tip

mercurial