summaryrefslogtreecommitdiffstats
path: root/games/arithmetic
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2016-09-11 14:21:17 +0000
committertb <tb@openbsd.org>2016-09-11 14:21:17 +0000
commitee7acb09aaf271db7965339e3b41e269df1a9494 (patch)
tree5fe803798fcc1d879d99b8a293cbc0551e8c475e /games/arithmetic
parentInstall binaries, scripts and documentation with the usual owner/group/mode. (diff)
downloadwireguard-openbsd-ee7acb09aaf271db7965339e3b41e269df1a9494.tar.xz
wireguard-openbsd-ee7acb09aaf271db7965339e3b41e269df1a9494.zip
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);