standard headers, etc. "time_t" is not "long". Don't issue own declarations of standard functions. Should fix Solaris build.