diff options
author | jsm <jsm@NetBSD.org> | 1999-09-09 17:30:17 +0000 |
---|---|---|
committer | jsm <jsm@NetBSD.org> | 1999-09-09 17:30:17 +0000 |
commit | e60a14029400aa36f907f23c8ccbbc1f122dd7e5 (patch) | |
tree | 87c77d6e45cc0b6f0d313e2585b040b2b8a4773b /fortune/fortune/fortune.c | |
parent | 05028c2aa439ddb8c5624303ab13b755c79e3930 (diff) | |
download | bsdgames-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/fortune/fortune.c')
-rw-r--r-- | fortune/fortune/fortune.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fortune/fortune/fortune.c b/fortune/fortune/fortune.c index 1839e15e..272c84cb 100644 --- a/fortune/fortune/fortune.c +++ b/fortune/fortune/fortune.c @@ -1,4 +1,4 @@ -/* $NetBSD: fortune.c,v 1.18 1999/09/08 21:57:16 jsm Exp $ */ +/* $NetBSD: fortune.c,v 1.19 1999/09/09 17:30:19 jsm Exp $ */ /*- * Copyright (c) 1986, 1993 @@ -46,7 +46,7 @@ __COPYRIGHT("@(#) Copyright (c) 1986, 1993\n\ #if 0 static char sccsid[] = "@(#)fortune.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: fortune.c,v 1.18 1999/09/08 21:57:16 jsm Exp $"); +__RCSID("$NetBSD: fortune.c,v 1.19 1999/09/09 17:30:19 jsm Exp $"); #endif #endif /* not lint */ @@ -62,6 +62,7 @@ __RCSID("$NetBSD: fortune.c,v 1.18 1999/09/08 21:57:16 jsm Exp $"); # include <stdlib.h> # include <string.h> # include <err.h> +# include <time.h> # include "strfile.h" # include "pathnames.h" |