diff options
author | djm@openbsd.org <djm@openbsd.org> | 2019-01-17 04:20:53 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-01-17 15:47:24 +1100 |
commit | 943d0965263cae1c080ce5a9d0b5aa341885e55d (patch) | |
tree | 543298bf95d3ff357dd677c16db174a5b555b58a | |
parent | dbb4dec6d5d671b5e9d67ef02162a610ad052068 (diff) |
upstream: include time.h for time(3)/nanosleep(2); from Ian
McKellar
OpenBSD-Commit-ID: 6412ccd06a88f65b207a1089345f51fa1244ea51
-rw-r--r-- | auth.c | 3 | ||||
-rw-r--r-- | auth2.c | 3 |
2 files changed, 4 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: auth.c,v 1.134 2018/11/16 03:26:01 djm Exp $ */ | 1 | /* $OpenBSD: auth.c,v 1.135 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 | * |
@@ -50,6 +50,7 @@ | |||
50 | #include <unistd.h> | 50 | #include <unistd.h> |
51 | #include <limits.h> | 51 | #include <limits.h> |
52 | #include <netdb.h> | 52 | #include <netdb.h> |
53 | #include <time.h> | ||
53 | 54 | ||
54 | #include "xmalloc.h" | 55 | #include "xmalloc.h" |
55 | #include "match.h" | 56 | #include "match.h" |
@@ -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" |