[openssh-commits] [openssh] 02/02: upstream: Include time.h for time().
git+noreply at mindrot.org
git+noreply at mindrot.org
Mon Apr 7 21:12:44 AEST 2025
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit 000c3d14e94d8f7597087c457260ea9417045b65
Author: dtucker at openbsd.org <dtucker at openbsd.org>
AuthorDate: Mon Apr 7 08:12:22 2025 +0000
upstream: Include time.h for time().
Fixes warning on some platforms when building without openssl.
OpenBSD-Commit-ID: 04ca29b8eaae1860c7adde3e770baa1866e30a54
---
sshd.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sshd.c b/sshd.c
index f77e1205b..4a93e29e4 100644
--- a/sshd.c
+++ b/sshd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshd.c,v 1.616 2025/03/12 22:43:44 djm Exp $ */
+/* $OpenBSD: sshd.c,v 1.617 2025/04/07 08:12:22 dtucker Exp $ */
/*
* Copyright (c) 2000, 2001, 2002 Markus Friedl. All rights reserved.
* Copyright (c) 2002 Niels Provos. All rights reserved.
@@ -53,6 +53,7 @@
#include <pwd.h>
#include <signal.h>
#include <stdarg.h>
+#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list