From f85e5def8d2d708c405a6d261fe99b4c4836a22f Mon Sep 17 00:00:00 2001 From: zicodxx Date: Thu, 3 Jan 2013 16:35:32 +0100 Subject: [PATCH] Included maths.h in rand.c to get d_rand prototype - patch by Kp --- CHANGELOG.txt | 1 + maths/rand.c | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index d2314cb4a..700e1c23d 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -7,6 +7,7 @@ editor/med.c: Deleted unnecessary drop-to-shell feature; commented out unused Re 2d/font.c, include/ogl_init.h: Moved pow2ize declaration to ogl_init.h - patch by Kp main/bmread.c, main/hostage.c, main/piggy.h: Moved remove_char declaration to piggy.h - patch by Kp main/multi.h, main/net_udp.c: Moved multi_* declarations to multi.h - patch by Kp +maths/rand.c: Included maths.h in rand.c to get d_rand prototype - patch by Kp 20121102 -------- diff --git a/maths/rand.c b/maths/rand.c index efe10b333..62caf89ac 100644 --- a/maths/rand.c +++ b/maths/rand.c @@ -2,6 +2,7 @@ // rand has different ranges on different machines... #include +#include "maths.h" #ifdef NO_WATCOM_RAND void d_srand(unsigned int seed)