Included maths.h in rand.c to get d_rand prototype - patch by Kp

This commit is contained in:
zicodxx 2013-01-03 16:35:32 +01:00
parent 6f72e2846c
commit f85e5def8d
2 changed files with 2 additions and 0 deletions

View file

@ -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
--------

View file

@ -2,6 +2,7 @@
// rand has different ranges on different machines...
#include <stdlib.h>
#include "maths.h"
#ifdef NO_WATCOM_RAND
void d_srand(unsigned int seed)