Add prototype for localtime_r if needed.
This commit is contained in:
parent
d500b59a82
commit
5eb7b9563f
|
@ -322,6 +322,10 @@ void explicit_bzero(void *p, size_t n);
|
||||||
void freezero(void *, size_t);
|
void freezero(void *, size_t);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_LOCALTIME_R
|
||||||
|
struct tm *localtime_r(const time_t *, struct tm *);
|
||||||
|
#endif
|
||||||
|
|
||||||
char *xcrypt(const char *password, const char *salt);
|
char *xcrypt(const char *password, const char *salt);
|
||||||
char *shadow_pw(struct passwd *pw);
|
char *shadow_pw(struct passwd *pw);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue