That is likely not a solution that works on all platforms.
Please tell us exactly which errors you are getting (just copy-paste them).
(Note: I know about some c++11 errors which will likely be fixed next days - so maybe that will help already, but those don't seem to be related to time.h, so I'm still interested in this one)

 

Last edit: Michael Zeilfelder 2016-02-01