diff options
author | christos <christos@NetBSD.org> | 2017-01-10 20:41:40 +0000 |
---|---|---|
committer | christos <christos@NetBSD.org> | 2017-01-10 20:41:40 +0000 |
commit | 9b82c32dab25528f66a0a082376adee31cb7aada (patch) | |
tree | 27d123f2a9c1b51a06f8db3f0202abfceda3fdc9 /larn/io.c | |
parent | dcc00112f26d69d1e4d67b6802d5ef9e3dabfede (diff) | |
download | bsdgames-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/io.c')
-rw-r--r-- | larn/io.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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> |