upstream: include time.h for time(3)/nanosleep(2); from Ian

McKellar

OpenBSD-Commit-ID: 6412ccd06a88f65b207a1089345f51fa1244ea51
This commit is contained in:
djm@openbsd.org 2019-01-17 04:20:53 +00:00 committed by Damien Miller
parent dbb4dec6d5
commit 943d096526
2 changed files with 4 additions and 2 deletions

3
auth.c
View File

@ -1,4 +1,4 @@
/* $OpenBSD: auth.c,v 1.134 2018/11/16 03:26:01 djm Exp $ */
/* $OpenBSD: auth.c,v 1.135 2019/01/17 04:20:53 djm Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
*
@ -50,6 +50,7 @@
#include <unistd.h>
#include <limits.h>
#include <netdb.h>
#include <time.h>
#include "xmalloc.h"
#include "match.h"

View File

@ -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"