All small patches submitted by Vladimar Marek (neuron) Basically fixes up some headers for Solaris's compiler. Kent