timeval.tv_sec does not have to be of type time_t