Module Name: src
Committed By: christos
Date: Tue Jan 10 20:44:05 UTC 2017
Modified Files:
src/bin/stty: key.c
Log Message:
need <time.h> for time(3)
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/bin/stty/key.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/stty/key.c
diff -u src/bin/stty/key.c:1.21 src/bin/stty/key.c:1.22
--- src/bin/stty/key.c:1.21 Thu Sep 12 15:47:23 2013
+++ src/bin/stty/key.c Tue Jan 10 15:44:05 2017
@@ -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/1
#include <err.h>
#include <errno.h>
#include <fcntl.h>
+#include <time.h>
#include <paths.h>
#include <stdlib.h>
#include <stdio.h>