need <time.h> for time(3)
closes #273
Change-Id: I23c6747e2490192a2ff7b98ce9f55b2e9d45be00
-/* $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
#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 */
#include <err.h>
#include <errno.h>
#include <fcntl.h>
+#include <time.h>
#include <paths.h>
#include <stdlib.h>
#include <stdio.h>