diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/sysdep.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index c0ff47e3072..eae493ba453 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -49,10 +49,7 @@ extern void srandom P_ ((unsigned int)); | |||
| 49 | #include "blockinput.h" | 49 | #include "blockinput.h" |
| 50 | 50 | ||
| 51 | #ifdef MAC_OS8 | 51 | #ifdef MAC_OS8 |
| 52 | /* It is essential to include stdlib.h so that this file picks up | 52 | #include <sys/param.h> |
| 53 | the correct definitions of rand, srand, and RAND_MAX. | ||
| 54 | Otherwise random numbers will not work correctly. */ | ||
| 55 | #include <stdlib.h> | ||
| 56 | 53 | ||
| 57 | #ifndef subprocesses | 54 | #ifndef subprocesses |
| 58 | /* Nonzero means delete a process right away if it exits (process.c). */ | 55 | /* Nonzero means delete a process right away if it exits (process.c). */ |