summaryrefslogtreecommitdiffstats
path: root/games/random
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-02-03 20:55:37 +0000
committerbde <bde@FreeBSD.org>1995-02-03 20:55:37 +0000
commit390800d0b500dd86e521442c836d6e90c69b4b14 (patch)
tree4e45fe6fd003fc328fc6c2c17325f6ef8b294c6e /games/random
parent79321cab6507f2d483faa4d659fa0966511abaf4 (diff)
downloadFreeBSD-src-390800d0b500dd86e521442c836d6e90c69b4b14.zip
FreeBSD-src-390800d0b500dd86e521442c836d6e90c69b4b14.tar.gz
Include <limits.h> to get LONG_MAX - don't depend on namespace pollution
in <time.h>.
Diffstat (limited to 'games/random')
-rw-r--r--games/random/random.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/games/random/random.c b/games/random/random.c
index a6fe472..87e1b18 100644
--- a/games/random/random.c
+++ b/games/random/random.c
@@ -48,6 +48,7 @@ static char sccsid[] = "@(#)random.c 8.5 (Berkeley) 4/5/94";
#include <err.h>
#include <errno.h>
+#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
OpenPOWER on IntegriCloud