diff options
| author | Vibhav Pant | 2020-08-21 14:04:35 +0530 |
|---|---|---|
| committer | Vibhav Pant | 2020-08-21 14:04:35 +0530 |
| commit | f0f8d7b82492e741950c363a03b886965c91b1b0 (patch) | |
| tree | 19b716830b1ebabc0d7d75949c4e6800c0f104ad /lib/sys_random.in.h | |
| parent | 9e64a087c4d167e7ec1c4e22bea3e6af53b563de (diff) | |
| parent | c818c29771d3cb51875643b2f6c894073e429dd2 (diff) | |
| download | emacs-feature/native-comp-macos-fixes.tar.gz emacs-feature/native-comp-macos-fixes.zip | |
Merge branch 'feature/native-comp' into feature/native-comp-macos-fixesfeature/native-comp-macos-fixes
Diffstat (limited to 'lib/sys_random.in.h')
| -rw-r--r-- | lib/sys_random.in.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/sys_random.in.h b/lib/sys_random.in.h index f14ac1f5723..a82d716de2e 100644 --- a/lib/sys_random.in.h +++ b/lib/sys_random.in.h | |||
| @@ -23,6 +23,10 @@ | |||
| 23 | 23 | ||
| 24 | #if @HAVE_SYS_RANDOM_H@ | 24 | #if @HAVE_SYS_RANDOM_H@ |
| 25 | 25 | ||
| 26 | /* On uClibc, <sys/random.h> assumes prior inclusion of <stddef.h>. */ | ||
| 27 | # if defined __UCLIBC__ | ||
| 28 | # include <stddef.h> | ||
| 29 | # endif | ||
| 26 | /* On Mac OS X 10.5, <sys/random.h> assumes prior inclusion of <sys/types.h>. | 30 | /* On Mac OS X 10.5, <sys/random.h> assumes prior inclusion of <sys/types.h>. |
| 27 | On Max OS X 10.13, <sys/random.h> assumes prior inclusion of a file that | 31 | On Max OS X 10.13, <sys/random.h> assumes prior inclusion of a file that |
| 28 | includes <Availability.h>, such as <stdlib.h> or <unistd.h>. */ | 32 | includes <Availability.h>, such as <stdlib.h> or <unistd.h>. */ |