summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-08-27 02:00:11 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-08-27 02:00:11 +0000
commitb66908b1ec384e410da9efc51eefbb2afc6f5fba (patch)
tree202a727ee9664833bd3fdfdafa1f1980d13c6ff2 /games
parentd2eb598028c52b2d007adc4fe1c1489a6fdf4f4b (diff)
Pull in <time.h> for time() and perhaps other functions
ok deraadt@
Diffstat (limited to 'games')
-rw-r--r--games/boggle/boggle/bog.c3
-rw-r--r--games/phantasia/gamesupport.c3
-rw-r--r--games/phantasia/main.c3
-rw-r--r--games/tetris/scores.c3
4 files changed, 8 insertions, 4 deletions
diff --git a/games/boggle/boggle/bog.c b/games/boggle/boggle/bog.c
index 26b74f08f33..c603fc64673 100644
--- a/games/boggle/boggle/bog.c
+++ b/games/boggle/boggle/bog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bog.c,v 1.30 2016/03/07 12:07:55 mestre Exp $ */
+/* $OpenBSD: bog.c,v 1.31 2016/08/27 02:00:10 guenther Exp $ */
/* $NetBSD: bog.c,v 1.5 1995/04/24 12:22:32 cgd Exp $ */
/*-
@@ -40,6 +40,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include "bog.h"
diff --git a/games/phantasia/gamesupport.c b/games/phantasia/gamesupport.c
index 9c1c86581a5..9ada0575e90 100644
--- a/games/phantasia/gamesupport.c
+++ b/games/phantasia/gamesupport.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gamesupport.c,v 1.9 2016/01/06 14:28:09 mestre Exp $ */
+/* $OpenBSD: gamesupport.c,v 1.10 2016/08/27 02:00:10 guenther Exp $ */
/* $NetBSD: gamesupport.c,v 1.3 1995/04/24 12:24:28 cgd Exp $ */
/*
@@ -8,6 +8,7 @@
#include <curses.h>
#include <stdio.h>
#include <string.h>
+#include <time.h>
#include "pathnames.h"
#include "phantdefs.h"
diff --git a/games/phantasia/main.c b/games/phantasia/main.c
index a535d5ab2d2..e9f2136b24e 100644
--- a/games/phantasia/main.c
+++ b/games/phantasia/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.21 2016/01/10 13:35:09 mestre Exp $ */
+/* $OpenBSD: main.c,v 1.22 2016/08/27 02:00:10 guenther Exp $ */
/* $NetBSD: main.c,v 1.3 1995/04/24 12:24:37 cgd Exp $ */
/*
@@ -37,6 +37,7 @@
#ifdef TERMIOS
#include <termios.h>
#endif
+#include <time.h>
#include <unistd.h>
#include "macros.h"
diff --git a/games/tetris/scores.c b/games/tetris/scores.c
index 736bcde4c08..471847354f8 100644
--- a/games/tetris/scores.c
+++ b/games/tetris/scores.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scores.c,v 1.21 2016/06/10 15:37:09 tb Exp $ */
+/* $OpenBSD: scores.c,v 1.22 2016/08/27 02:00:10 guenther Exp $ */
/* $NetBSD: scores.c,v 1.2 1995/04/22 07:42:38 cgd Exp $ */
/*-
@@ -50,6 +50,7 @@
#include <stdlib.h>
#include <string.h>
#include <term.h>
+#include <time.h>
#include <unistd.h>
#include "scores.h"