aboutsummaryrefslogtreecommitdiffstats
path: root/m4/sys_random_h.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/sys_random_h.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/sys_random_h.m4')
-rw-r--r--m4/sys_random_h.m45
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
2dnl Copyright (C) 2020 Free Software Foundation, Inc. 2dnl Copyright (C) 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,
@@ -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>