This is very very specific to the version and implementation of your library. The standard doesn't force any header to include time.h
1 so you cannot rely on that.
In your case, it could be that one of dos.h
, io.h
, conio.h
for example has included time.h
(or any other of the headers there for all it's worth).
1 At least not the ones there and not likely in your seemingly ancient library. C11 says threads.h
should include time.h