[openssh-commits] [openssh] 01/01: Add prototype for localtime_r if needed.
git+noreply at mindrot.org
git+noreply at mindrot.org
Fri Nov 1 14:42:25 AEDT 2019
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit 5eb7b9563ff818e17de24231bf2d347d9db302c5
Author: Darren Tucker <dtucker at dtucker.net>
Date: Fri Nov 1 14:41:07 2019 +1100
Add prototype for localtime_r if needed.
---
openbsd-compat/openbsd-compat.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h
index 0430e196..97b344b6 100644
--- a/openbsd-compat/openbsd-compat.h
+++ b/openbsd-compat/openbsd-compat.h
@@ -322,6 +322,10 @@ void explicit_bzero(void *p, size_t n);
void freezero(void *, size_t);
#endif
+#ifndef HAVE_LOCALTIME_R
+struct tm *localtime_r(const time_t *, struct tm *);
+#endif
+
char *xcrypt(const char *password, const char *salt);
char *shadow_pw(struct passwd *pw);
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list