Add POSIX prototypes for time functions, to allow external code to build