diff options
| author | YAMAMOTO Mitsuharu | 2005-09-18 05:42:49 +0000 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2005-09-18 05:42:49 +0000 |
| commit | e194b7b9f2425e6c16f4c885baf33a3d108f981d (patch) | |
| tree | 7b25a5305e49516d9368bff96e84ca7aa727a691 /src/sysdep.c | |
| parent | 3da64ce8fc7efe6c8ae5b135a3d5215176662df6 (diff) | |
| download | emacs-e194b7b9f2425e6c16f4c885baf33a3d108f981d.tar.gz emacs-e194b7b9f2425e6c16f4c885baf33a3d108f981d.zip | |
[MAC_OS8]: Don't include stdlib.h. Include sys/param.h.
Diffstat (limited to 'src/sysdep.c')
| -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). */ |