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)
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 4d19957a6..4415c11ec 100644
--- a/auth2.c
+++ b/auth2.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth2.c,v 1.149 2018/07/11 18:53:29 markus Exp $ */ 1/* $OpenBSD: auth2.c,v 1.151 2019/01/17 04:20:53 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000 Markus Friedl. All rights reserved.
4 * 4 *
@@ -35,6 +35,7 @@
35#include <stdarg.h> 35#include <stdarg.h>
36#include <string.h> 36#include <string.h>
37#include <unistd.h> 37#include <unistd.h>
38#include <time.h>
38 39
39#include "atomicio.h" 40#include "atomicio.h"
40#include "xmalloc.h" 41#include "xmalloc.h"