modify u_int* to uint* to build on solaris

stdint.h definition is added as well.