summaryrefslogtreecommitdiff
path: root/games/arithmetic
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2016-09-11 14:21:19 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2016-09-11 14:21:19 +0000
commitaa9d078ea90a862b6c1f1fdf0fc59595e5c7c7c9 (patch)
tree6b97d5916f0e2d14d5c447a30356fc0df93561e3 /games/arithmetic
parent5ee88dd45e02f684f73307fef9a9c1e1bbabcf20 (diff)
Callers of time(3) should #include <time.h>.
ok deraadt
Diffstat (limited to 'games/arithmetic')
-rw-r--r--games/arithmetic/arithmetic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/arithmetic/arithmetic.c b/games/arithmetic/arithmetic.c
index bef0cf7feb0..50cd8acd4e5 100644
--- a/games/arithmetic/arithmetic.c
+++ b/games/arithmetic/arithmetic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: arithmetic.c,v 1.26 2016/01/27 13:42:08 gsoares Exp $ */
+/* $OpenBSD: arithmetic.c,v 1.27 2016/09/11 14:21:17 tb Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -67,6 +67,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
int getrandom(int, int, int);