Add missing #include.

time(2) requires time.h.