mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
Update.
1998-10-16 Paul Eggert <eggert@shade.twinsun.com> * time/mktime.c: Some systems require <unistd.h> to be included before <time.h> for localtime_r to be declared properly. * time/strftime.c: Likewise.
This commit is contained in:
@@ -46,6 +46,12 @@
|
||||
#include <ctype.h>
|
||||
#include <sys/types.h> /* Some systems define `time_t' here. */
|
||||
|
||||
/* Some systems require <unistd.h> to be included before <time.h>
|
||||
for localtime_r to be declared properly. */
|
||||
#if HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef TIME_WITH_SYS_TIME
|
||||
# include <sys/time.h>
|
||||
# include <time.h>
|
||||
|
Reference in New Issue
Block a user