diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2020-08-13 15:49:43 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2020-08-13 15:50:12 -0700 |
commit | 48c7caf3aca85f9878ae05bff9a0dca43b8f540b (patch) | |
tree | 442fb663de62ce4c640935b7f7b136012b8a704d /m4 | |
parent | 727ffbaaf44b001f6b4be49f33dfb784675bada3 (diff) | |
download | emacs-48c7caf3aca85f9878ae05bff9a0dca43b8f540b.tar.gz |
Update from Gnulib
This incorporates:
2020-08-13 sys_random: Work around an uClibc bug
* lib/sys_random.in.h, m4/getrandom.m4, m4/sys_random_h.m4:
Copy from Gnulib.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/getrandom.m4 | 5 | ||||
-rw-r--r-- | m4/sys_random_h.m4 | 5 |
2 files changed, 6 insertions, 4 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 @@ -# getrandom.m4 serial 7 +# getrandom.m4 serial 8 dnl Copyright 2020 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -18,7 +18,8 @@ AC_DEFUN([gl_FUNC_GETRANDOM], [gl_cv_func_getrandom_ok], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( - [[/* Additional includes are needed before <sys/random.h> on Mac OS X. */ + [[/* Additional includes are needed before <sys/random.h> on uClibc + and Mac OS X. */ #include <sys/types.h> #include <stdlib.h> #include <sys/random.h> 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 @@ -# sys_random_h.m4 serial 4 +# sys_random_h.m4 serial 5 dnl Copyright (C) 2020 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -25,7 +25,8 @@ AC_DEFUN([gl_HEADER_SYS_RANDOM], dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[ #if HAVE_SYS_RANDOM_H -/* Additional includes are needed before <sys/random.h> on Mac OS X. */ +/* Additional includes are needed before <sys/random.h> on uClibc + and Mac OS X. */ # include <sys/types.h> # include <stdlib.h> # include <sys/random.h> |