Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/games/larn need time.h for time(), got side-loaded before fr...
details: https://anonhg.NetBSD.org/src/rev/5691902ffa14
branches: trunk
changeset: 820502:5691902ffa14
user: christos <christos%NetBSD.org@localhost>
date: Tue Jan 10 20:41:40 2017 +0000
description:
need time.h for time(), got side-loaded before from <fcntl.h> via <sys/stat.h>
diffstat:
games/larn/io.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r c4c8df0007f4 -r 5691902ffa14 games/larn/io.c
--- a/games/larn/io.c Tue Jan 10 20:40:53 2017 +0000
+++ b/games/larn/io.c Tue Jan 10 20:41:40 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: io.c,v 1.27 2012/06/19 05:30:43 dholland Exp $ */
+/* $NetBSD: io.c,v 1.28 2017/01/10 20:41:40 christos Exp $ */
/*
* io.c Larn is copyrighted 1986 by Noah Morgan.
@@ -62,7 +62,7 @@
*/
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: io.c,v 1.27 2012/06/19 05:30:43 dholland Exp $");
+__RCSID("$NetBSD: io.c,v 1.28 2017/01/10 20:41:40 christos Exp $");
#endif /* not lint */
#include "header.h"
@@ -71,6 +71,7 @@
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
+#include <time.h>
#include <term.h>
#include <fcntl.h>
#include <errno.h>
Home |
Main Index |
Thread Index |
Old Index