Mercurial > emacs
changeset 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 | 18cc1afe504a |
children | fd1833c3398a |
files | src/sysdep.c |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
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). */