aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1995-02-03 20:55:37 +0000
committerBruce Evans <bde@FreeBSD.org>1995-02-03 20:55:37 +0000
commitb0b1fe4f53d62365091ba3f287600dc131fcada8 (patch)
tree4e45fe6fd003fc328fc6c2c17325f6ef8b294c6e
parent9ca5d383704f73970c6b8b3e14a76dc1d1b4b6f5 (diff)
Include <limits.h> to get LONG_MAX - don't depend on namespace pollution
in <time.h>.
Notes
Notes: svn path=/head/; revision=6160
-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 a6fe47259fc2..87e1b1888788 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>