summaryrefslogtreecommitdiffstats
path: root/larn
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2017-01-10 20:41:40 +0000
committerchristos <christos@NetBSD.org>2017-01-10 20:41:40 +0000
commit9b82c32dab25528f66a0a082376adee31cb7aada (patch)
tree27d123f2a9c1b51a06f8db3f0202abfceda3fdc9 /larn
parentdcc00112f26d69d1e4d67b6802d5ef9e3dabfede (diff)
downloadbsdgames-darwin-9b82c32dab25528f66a0a082376adee31cb7aada.tar.gz
bsdgames-darwin-9b82c32dab25528f66a0a082376adee31cb7aada.tar.zst
bsdgames-darwin-9b82c32dab25528f66a0a082376adee31cb7aada.zip
need time.h for time(), got side-loaded before from <fcntl.h> via <sys/stat.h>
Diffstat (limited to 'larn')
-rw-r--r--larn/io.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/larn/io.c b/larn/io.c
index 245ce8a4..d803fd81 100644
--- a/larn/io.c
+++ b/larn/io.c
@@ -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 @@ __RCSID("$NetBSD: io.c,v 1.27 2012/06/19 05:30:43 dholland Exp $");
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
+#include <time.h>
#include <term.h>
#include <fcntl.h>
#include <errno.h>