time_p.cpp was not including stdio, needed for perror