smurf: Need time.h for gmtime_r