gettime.h: use time_t instead of size_t for copy of tv_sec