aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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). */