aboutsummaryrefslogtreecommitdiffstats
path: root/m4/getrandom.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/getrandom.m4')
-rw-r--r--m4/getrandom.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/m4/getrandom.m4 b/m4/getrandom.m4
index 424c2fad3e3..d6da71a2c83 100644
--- a/m4/getrandom.m4
+++ b/m4/getrandom.m4
@@ -1,4 +1,4 @@
1# getrandom.m4 serial 7 1# getrandom.m4 serial 8
2dnl Copyright 2020 Free Software Foundation, Inc. 2dnl Copyright 2020 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
@@ -18,7 +18,8 @@ AC_DEFUN([gl_FUNC_GETRANDOM],
18 [gl_cv_func_getrandom_ok], 18 [gl_cv_func_getrandom_ok],
19 [AC_COMPILE_IFELSE( 19 [AC_COMPILE_IFELSE(
20 [AC_LANG_PROGRAM( 20 [AC_LANG_PROGRAM(
21 [[/* Additional includes are needed before <sys/random.h> on Mac OS X. */ 21 [[/* Additional includes are needed before <sys/random.h> on uClibc
22 and Mac OS X. */
22 #include <sys/types.h> 23 #include <sys/types.h>
23 #include <stdlib.h> 24 #include <stdlib.h>
24 #include <sys/random.h> 25 #include <sys/random.h>