need <time.h> for time(3)

This commit is contained in:
christos 2017-01-10 20:44:05 +00:00
parent 7792ef1ac5
commit bad8f1c071
1 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: key.c,v 1.21 2013/09/12 19:47:23 christos Exp $ */
/* $NetBSD: key.c,v 1.22 2017/01/10 20:44:05 christos Exp $ */
/*-
* Copyright (c) 1991, 1993, 1994
@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)key.c 8.4 (Berkeley) 2/20/95";
#else
__RCSID("$NetBSD: key.c,v 1.21 2013/09/12 19:47:23 christos Exp $");
__RCSID("$NetBSD: key.c,v 1.22 2017/01/10 20:44:05 christos Exp $");
#endif
#endif /* not lint */
@ -43,6 +43,7 @@ __RCSID("$NetBSD: key.c,v 1.21 2013/09/12 19:47:23 christos Exp $");
#include <err.h>
#include <errno.h>
#include <fcntl.h>
#include <time.h>
#include <paths.h>
#include <stdlib.h>
#include <stdio.h>