aboutsummaryrefslogtreecommitdiffstats
path: root/src/sysdep.c
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu <[email protected]>2005-09-18 05:42:49 +0000
committerYAMAMOTO Mitsuharu <[email protected]>2005-09-18 05:42:49 +0000
commite194b7b9f2425e6c16f4c885baf33a3d108f981d (patch)
tree7b25a5305e49516d9368bff96e84ca7aa727a691 /src/sysdep.c
parent3da64ce8fc7efe6c8ae5b135a3d5215176662df6 (diff)
[MAC_OS8]: Don't include stdlib.h. Include sys/param.h.
Diffstat (limited to 'src/sysdep.c')
-rw-r--r--src/sysdep.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index c0ff47e307..eae493ba45 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 <stdlib.h>
+#include <sys/param.h>
#ifndef subprocesses
/* Nonzero means delete a process right away if it exits (process.c). */