Index: php/ext/hash/hash_ripemd.c =================================================================== --- php.orig/ext/hash/hash_ripemd.c +++ php/ext/hash/hash_ripemd.c @@ -172,6 +172,10 @@ static const unsigned char S[80] = { 11, 12, 14, 15, 14, 15, 9, 8, 9, 14, 5, 6, 8, 6, 5, 12, 9, 15, 5, 11, 6, 8, 13, 12, 5, 12, 13, 14, 11, 8, 5, 6 }; +/* defined at illumos */ +#ifdef SS +#undef SS +#endif static const unsigned char SS[80] = { 8, 9, 9, 11, 13, 15, 15, 5, 7, 7, 8, 11, 14, 14, 12, 6, 9, 13, 15, 7, 12, 8, 9, 11, 7, 7, 12, 7, 6, 15, 13, 11,