diff options
author | Darren Tucker <dtucker@dtucker.net> | 2019-10-29 09:45:03 +0100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2019-10-29 10:48:46 +0100 |
commit | 1bcd1169c5221688418fa38606e9c69055b72451 (patch) | |
tree | 61a589dff15dc626b876bb51f532320c7ee79a9e /openbsd-compat/bsd-misc.h | |
parent | upstream: Signal handler cleanup: remove leftover support for (diff) | |
download | openssh-1bcd1169c5221688418fa38606e9c69055b72451.tar.xz openssh-1bcd1169c5221688418fa38606e9c69055b72451.zip |
Add implementation of localtime_r.
Diffstat (limited to 'openbsd-compat/bsd-misc.h')
-rw-r--r-- | openbsd-compat/bsd-misc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsd-compat/bsd-misc.h b/openbsd-compat/bsd-misc.h index f5b032bbc..5a369d9de 100644 --- a/openbsd-compat/bsd-misc.h +++ b/openbsd-compat/bsd-misc.h @@ -178,4 +178,8 @@ int flock(int, int); # define fflush(x) (_ssh_compat_fflush(x)) #endif +#ifndef HAVE_LOCALTIME_R +struct tm *localtime_r(const time_t *, struct tm *); +#endif + #endif /* _BSD_MISC_H */ |