DS1307 does not compile on IDE 1.8.1

Hello, Im having the following problem.
I had a code runningin a uno-clone for more than 2 years. Cant remember in what IDE version it was compiled.
Today I had to make a minor change (=add a Serial.print statement for date). Nothing else.

The code cannot be compiled in 1.8.1 with error :
DS1307RTC.h:20:23: error: 'tmElements_t' has not been declared

static bool write(tmElements_t &tm);
Interesting (?): It compiles ok in version IDE 1.6.7 same computer, same usb port.
Any suggestions?

Try adding

#include <TimeLib.h>

ok, now it compiles , thank you.

there was also

#include <Time.h>

is it needed now or timelib supersedes <Time.h>?

Anyway, Compilation is ok with / or without <Time.h>

thanks again