Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/stty need <time.h> for time(3)



details:   https://anonhg.NetBSD.org/src/rev/bdf2bed516fd
branches:  trunk
changeset: 820504:bdf2bed516fd
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jan 10 20:44:05 2017 +0000

description:
need <time.h> for time(3)

diffstat:

 bin/stty/key.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r d7cb2932f6b6 -r bdf2bed516fd bin/stty/key.c
--- a/bin/stty/key.c    Tue Jan 10 20:43:08 2017 +0000
+++ b/bin/stty/key.c    Tue Jan 10 20:44:05 2017 +0000
@@ -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 @@
 #include <err.h>
 #include <errno.h>
 #include <fcntl.h>
+#include <time.h>
 #include <paths.h>
 #include <stdlib.h>
 #include <stdio.h>



Home | Main Index | Thread Index | Old Index