Enable compilation under Solaris 2.6.

svn path=/trunk/; revision=2097