diff options
Diffstat (limited to 'm4/sys_random_h.m4')
| -rw-r--r-- | m4/sys_random_h.m4 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/m4/sys_random_h.m4 b/m4/sys_random_h.m4 index a964b157841..8c5d53703be 100644 --- a/m4/sys_random_h.m4 +++ b/m4/sys_random_h.m4 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # sys_random_h.m4 serial 4 | 1 | # sys_random_h.m4 serial 5 |
| 2 | dnl Copyright (C) 2020 Free Software Foundation, Inc. | 2 | dnl Copyright (C) 2020 Free Software Foundation, Inc. |
| 3 | dnl This file is free software; the Free Software Foundation | 3 | dnl This file is free software; the Free Software Foundation |
| 4 | dnl gives unlimited permission to copy and/or distribute it, | 4 | dnl gives unlimited permission to copy and/or distribute it, |
| @@ -25,7 +25,8 @@ AC_DEFUN([gl_HEADER_SYS_RANDOM], | |||
| 25 | dnl corresponding gnulib module is not in use. | 25 | dnl corresponding gnulib module is not in use. |
| 26 | gl_WARN_ON_USE_PREPARE([[ | 26 | gl_WARN_ON_USE_PREPARE([[ |
| 27 | #if HAVE_SYS_RANDOM_H | 27 | #if HAVE_SYS_RANDOM_H |
| 28 | /* Additional includes are needed before <sys/random.h> on Mac OS X. */ | 28 | /* Additional includes are needed before <sys/random.h> on uClibc |
| 29 | and Mac OS X. */ | ||
| 29 | # include <sys/types.h> | 30 | # include <sys/types.h> |
| 30 | # include <stdlib.h> | 31 | # include <stdlib.h> |
| 31 | # include <sys/random.h> | 32 | # include <sys/random.h> |