it compiles OK on 2.6 there are a few problems with using 0x12LL style constants but they aren't specific to solaris. I'm fixing those now. (in general, never use the LL suffix, use shifts instead)