Skip to content

Commit 000c3d1

Browse files
committed
upstream: Include time.h for time().
Fixes warning on some platforms when building without openssl. OpenBSD-Commit-ID: 04ca29b8eaae1860c7adde3e770baa1866e30a54
1 parent 49b8b9b commit 000c3d1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sshd.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $OpenBSD: sshd.c,v 1.616 2025/03/12 22:43:44 djm Exp $ */
1+
/* $OpenBSD: sshd.c,v 1.617 2025/04/07 08:12:22 dtucker Exp $ */
22
/*
33
* Copyright (c) 2000, 2001, 2002 Markus Friedl. All rights reserved.
44
* Copyright (c) 2002 Niels Provos. All rights reserved.
@@ -53,6 +53,7 @@
5353
#include <pwd.h>
5454
#include <signal.h>
5555
#include <stdarg.h>
56+
#include <time.h>
5657
#include <stdio.h>
5758
#include <stdlib.h>
5859
#include <string.h>

0 commit comments

Comments
 (0)