summaryrefslogtreecommitdiffstats
path: root/hangman
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 /hangman
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 'hangman')
-rw-r--r--hangman/setup.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/hangman/setup.c b/hangman/setup.c
index 4ba9f7df..81a97339 100644
--- a/hangman/setup.c
+++ b/hangman/setup.c
@@ -1,4 +1,4 @@
-/* $NetBSD: setup.c,v 1.6 1999/09/08 21:17:50 jsm Exp $ */
+/* $NetBSD: setup.c,v 1.7 1999/09/09 17:30:20 jsm Exp $ */
/*-
* Copyright (c) 1983, 1993
@@ -38,11 +38,12 @@
#if 0
static char sccsid[] = "@(#)setup.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: setup.c,v 1.6 1999/09/08 21:17:50 jsm Exp $");
+__RCSID("$NetBSD: setup.c,v 1.7 1999/09/09 17:30:20 jsm Exp $");
#endif
#endif /* not lint */
#include <err.h>
+#include <time.h>
#include "hangman.h"
/*