Module Name:    src
Committed By:   christos
Date:           Tue Jan 10 20:41:40 UTC 2017

Modified Files:
        src/games/larn: io.c

Log Message:
need time.h for time(), got side-loaded before from <fcntl.h> via <sys/stat.h>


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/games/larn/io.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/games/larn/io.c
diff -u src/games/larn/io.c:1.27 src/games/larn/io.c:1.28
--- src/games/larn/io.c:1.27	Tue Jun 19 01:30:43 2012
+++ src/games/larn/io.c	Tue Jan 10 15:41:40 2017
@@ -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
 #include <unistd.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <time.h>
 #include <term.h>
 #include <fcntl.h>
 #include <errno.h>

Reply via email to