sys_random: Work around an uClibc bug.
commit4e082bffbcc46e68644ae0d59b4f09bf2b5feb84
authorBruno Haible <bruno@clisp.org>
Thu, 13 Aug 2020 15:49:35 +0000 (13 17:49 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 13 Aug 2020 15:49:35 +0000 (13 17:49 +0200)
tree12a474bf27e6c3efb48edf945228d5af1a65c5b1
parent1a5ab8331da8c0f2fe54b937064b64271ec15550
sys_random: Work around an uClibc bug.

Reported by akater <nuclearspace@gmail.com>
via Stefan Kangas <stefan@marxist.se>
in <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=42236>.

* lib/sys_random.in.h: On uClibc, include <stddef.h> first.
* m4/sys_random_h.m4 (gl_HEADER_SYS_RANDOM): Update comment.
* m4/getrandom.m4 (gl_FUNC_GETRANDOM): Likewise.
* doc/glibc-headers/sys_random.texi: Mention the uClibc bug.
ChangeLog
doc/glibc-headers/sys_random.texi
lib/sys_random.in.h
m4/getrandom.m4
m4/sys_random_h.m4