summaryrefslogtreecommitdiff
path: root/auth2.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2019-01-17 04:20:53 +0000
committerDamien Miller <djm@mindrot.org>2019-01-17 15:47:24 +1100
commit943d0965263cae1c080ce5a9d0b5aa341885e55d (patch)
tree543298bf95d3ff357dd677c16db174a5b555b58a /auth2.c
parentdbb4dec6d5d671b5e9d67ef02162a610ad052068 (diff)
downloadopenssh-git-943d0965263cae1c080ce5a9d0b5aa341885e55d.tar.gz
upstream: include time.h for time(3)/nanosleep(2); from Ian
McKellar OpenBSD-Commit-ID: 6412ccd06a88f65b207a1089345f51fa1244ea51
Diffstat (limited to 'auth2.c')
-rw-r--r--auth2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/auth2.c b/auth2.c
index 4d19957a..4415c11e 100644
--- a/auth2.c
+++ b/auth2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth2.c,v 1.149 2018/07/11 18:53:29 markus Exp $ */
+/* $OpenBSD: auth2.c,v 1.151 2019/01/17 04:20:53 djm Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
*
@@ -35,6 +35,7 @@
#include <stdarg.h>
#include <string.h>
#include <unistd.h>
+#include <time.h>
#include "atomicio.h"
#include "xmalloc.h"