From 08eca96e71d96ad1f8e9b888875ab5570f208d19 Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Wed, 17 Feb 2021 14:05:02 -0500 Subject: Get all the games compiling for iOS --- trek/ranf.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'trek/ranf.c') diff --git a/trek/ranf.c b/trek/ranf.c index 9ed23545..3c76fe9c 100644 --- a/trek/ranf.c +++ b/trek/ranf.c @@ -42,6 +42,8 @@ __RCSID("$NetBSD: ranf.c,v 1.7 2009/05/25 00:37:27 dholland Exp $"); #include #include "trek.h" +#define RANDOM_MAX 0x7fffffff + int ranf(int max) { -- cgit v1.2.3-56-ge451