Compile fails without sys/types.h

u_int32_t is in types.h.

I'll send another commit correcting the types to new style soon.

Chris