Include <time.h> for time_t.