[PATCH] fix compilation on Solaris 10 with GNU C 3.4.3