diff options
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/unx/system.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sal/osl/unx/system.h b/sal/osl/unx/system.h index 3a0babd4e53c..33aef2437309 100644 --- a/sal/osl/unx/system.h +++ b/sal/osl/unx/system.h @@ -402,8 +402,10 @@ struct passwd *getpwent_r(struct passwd *pwd, char *buffer, int buflen); extern struct spwd *getspnam_r(const char *name, struct spwd *result, char *buffer, int buflen); +#if !defined MACOSX struct tm *localtime_r(const time_t *timep, struct tm *buffer); struct tm *gmtime_r(const time_t *timep, struct tm *buffer); +#endif #endif /* !defined FREEBSD || (__FreeBSD_version < 500112) */ #if !defined(FREEBSD) || (__FreeBSD_version < 601103) struct hostent *gethostbyname_r(const char *name, struct hostent *result, |