summaryrefslogtreecommitdiff
path: root/games/tetris
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-08-27 02:02:45 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-08-27 02:02:45 +0000
commitbc1af5a80764c3135905e2f6c5d76d95ac39bbfe (patch)
tree373171f62800798ed6144dabfdf6dd6c2d697a7c /games/tetris
parentb66908b1ec384e410da9efc51eefbb2afc6f5fba (diff)
Pull in <sys/time.h> for struct timespec, gettimeofday(), clock_gettime(),
and setitimer() ok deraadt@
Diffstat (limited to 'games/tetris')
-rw-r--r--games/tetris/input.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/tetris/input.c b/games/tetris/input.c
index 4b7904c8ae3..1a0fd878919 100644
--- a/games/tetris/input.c
+++ b/games/tetris/input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: input.c,v 1.17 2016/01/10 13:35:10 mestre Exp $ */
+/* $OpenBSD: input.c,v 1.18 2016/08/27 02:02:44 guenther Exp $ */
/* $NetBSD: input.c,v 1.3 1996/02/06 22:47:33 jtc Exp $ */
/*-
@@ -39,6 +39,7 @@
* Tetris input.
*/
+#include <sys/time.h>
#include <errno.h>
#include <poll.h>
#include <unistd.h>