asctime_r fix

SCCS-file: private.h
SCCS-SID: 7.54
This commit is contained in:
Arthur David Olson
2012-07-18 03:02:43 -04:00
committed by Paul Eggert
parent 3aacac064b
commit f791ae63fa
+11
View File
@@ -190,10 +190,21 @@ extern int unlink P((const char * filename));
** But some newer errno.h implementations define it as a macro.
** Fix the former without affecting the latter.
*/
#ifndef errno
extern int errno;
#endif /* !defined errno */
/*
** Some time.h implementations don't declare asctime_r.
** Others might define it as a macro.
** Fix the former without affecting the latter.
*/
#ifndef asctime_r
extern char * asctime_r();
#endif
/*
** Private function declarations.
*/