More [unsigned] long -> [s]size_t where appropriate.
No need to depend on these headers.