]> git.eshelyaron.com Git - emacs.git/commitdiff
[MAC_OS8]: Don't include stdlib.h. Include sys/param.h.
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sun, 18 Sep 2005 05:42:49 +0000 (05:42 +0000)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sun, 18 Sep 2005 05:42:49 +0000 (05:42 +0000)
src/sysdep.c

index c0ff47e3072fa89667141660d7212b424ae8ec69..eae493ba4532876039c1588b9f582d5fcb88efc7 100644 (file)
@@ -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 <stdlib.h>
+#include <sys/param.h>
 
 #ifndef subprocesses
 /* Nonzero means delete a process right away if it exits (process.c).  */