# HG changeset patch # User YAMAMOTO Mitsuharu # Date 1127022169 0 # Node ID 52cdcffb87105b6d38b6b36b687d3adc0511dfec # Parent 18cc1afe504a1e4b6e6285acbfa08266b9b4f555 [MAC_OS8]: Don't include stdlib.h. Include sys/param.h. diff -r 18cc1afe504a -r 52cdcffb8710 src/sysdep.c --- a/src/sysdep.c Sun Sep 18 05:42:12 2005 +0000 +++ b/src/sysdep.c Sun Sep 18 05:42:49 2005 +0000 @@ -49,10 +49,7 @@ #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). */