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 /lib | |
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 'lib')
-rw-r--r-- | lib/sys_random.in.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/sys_random.in.h b/lib/sys_random.in.h index f14ac1f5723..a82d716de2e 100644 --- a/lib/sys_random.in.h +++ b/lib/sys_random.in.h @@ -23,6 +23,10 @@ #if @HAVE_SYS_RANDOM_H@ +/* On uClibc, <sys/random.h> assumes prior inclusion of <stddef.h>. */ +# if defined __UCLIBC__ +# include <stddef.h> +# endif /* On Mac OS X 10.5, <sys/random.h> assumes prior inclusion of <sys/types.h>. On Max OS X 10.13, <sys/random.h> assumes prior inclusion of a file that includes <Availability.h>, such as <stdlib.h> or <unistd.h>. */ |