summaryrefslogtreecommitdiffstats
path: root/games/tetris
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2016-08-27 02:00:10 +0000
committerguenther <guenther@openbsd.org>2016-08-27 02:00:10 +0000
commit1614e62e0799f50595df07771c8d8e72e921e24c (patch)
tree7192a5f3e9a8a17d84c5416240043a5eeadf8189 /games/tetris
parentPull in <sys/time.h> for struct timespec (diff)
downloadwireguard-openbsd-1614e62e0799f50595df07771c8d8e72e921e24c.tar.xz
wireguard-openbsd-1614e62e0799f50595df07771c8d8e72e921e24c.zip
Pull in <time.h> for time() and perhaps other functions
ok deraadt@
Diffstat (limited to 'games/tetris')
-rw-r--r--games/tetris/scores.c3
1 files changed, 2 insertions, 1 deletions
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"