From e194b7b9f2425e6c16f4c885baf33a3d108f981d Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Sun, 18 Sep 2005 05:42:49 +0000 Subject: [PATCH] [MAC_OS8]: Don't include stdlib.h. Include sys/param.h. --- src/sysdep.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/sysdep.c b/src/sysdep.c index c0ff47e3072..eae493ba453 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -49,10 +49,7 @@ extern void srandom P_ ((unsigned int)); #include "blockinput.h" #ifdef MAC_OS8 -/* It is essential to include stdlib.h so that this file picks up - the correct definitions of rand, srand, and RAND_MAX. - Otherwise random numbers will not work correctly. */ -#include +#include #ifndef subprocesses /* Nonzero means delete a process right away if it exits (process.c). */ -- 2.39.5