aboutsummaryrefslogtreecommitdiffstats
path: root/m4/getrandom.m4
diff options
context:
space:
mode:
authorVibhav Pant2020-08-21 14:04:35 +0530
committerVibhav Pant2020-08-21 14:04:35 +0530
commitf0f8d7b82492e741950c363a03b886965c91b1b0 (patch)
tree19b716830b1ebabc0d7d75949c4e6800c0f104ad /m4/getrandom.m4
parent9e64a087c4d167e7ec1c4e22bea3e6af53b563de (diff)
parentc818c29771d3cb51875643b2f6c894073e429dd2 (diff)
downloademacs-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 '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>