summaryrefslogtreecommitdiffstats
path: root/fortune/strfile
diff options
context:
space:
mode:
authorjsm <jsm@NetBSD.org>1999-09-09 17:30:17 +0000
committerjsm <jsm@NetBSD.org>1999-09-09 17:30:17 +0000
commite60a14029400aa36f907f23c8ccbbc1f122dd7e5 (patch)
tree87c77d6e45cc0b6f0d313e2585b040b2b8a4773b /fortune/strfile
parent05028c2aa439ddb8c5624303ab13b755c79e3930 (diff)
downloadbsdgames-darwin-e60a14029400aa36f907f23c8ccbbc1f122dd7e5.tar.gz
bsdgames-darwin-e60a14029400aa36f907f23c8ccbbc1f122dd7e5.tar.zst
bsdgames-darwin-e60a14029400aa36f907f23c8ccbbc1f122dd7e5.zip
Include <time.h> in various places in the games where time() or time_t
are used.
Diffstat (limited to 'fortune/strfile')
-rw-r--r--fortune/strfile/strfile.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fortune/strfile/strfile.c b/fortune/strfile/strfile.c
index 9218a507..0d74f4e2 100644
--- a/fortune/strfile/strfile.c
+++ b/fortune/strfile/strfile.c
@@ -1,4 +1,4 @@
-/* $NetBSD: strfile.c,v 1.11 1999/09/08 21:57:17 jsm Exp $ */
+/* $NetBSD: strfile.c,v 1.12 1999/09/09 17:30:19 jsm Exp $ */
/*-
* Copyright (c) 1989, 1993
@@ -46,7 +46,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\n\
#if 0
static char sccsid[] = "@(#)strfile.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: strfile.c,v 1.11 1999/09/08 21:57:17 jsm Exp $");
+__RCSID("$NetBSD: strfile.c,v 1.12 1999/09/09 17:30:19 jsm Exp $");
#endif
#endif /* not lint */
@@ -57,6 +57,7 @@ __RCSID("$NetBSD: strfile.c,v 1.11 1999/09/08 21:57:17 jsm Exp $");
# include <stdio.h>
# include <stdlib.h>
# include <string.h>
+# include <time.h>
# include <unistd.h>
# include "strfile.h"