diff options
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>. */ |