Mercurial > emacs
diff src/sysdep.c @ 65580:52cdcffb8710
[MAC_OS8]: Don't include stdlib.h. Include sys/param.h.
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Sun, 18 Sep 2005 05:42:49 +0000 |
parents | 6de0727c40ae |
children | c6e45e9a83bf fa0da9b57058 |
line wrap: on
line diff
--- 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 <stdlib.h> +#include <sys/param.h> #ifndef subprocesses /* Nonzero means delete a process right away if it exits (process.c). */