Paul Eggert wrote:
> Should those changes to m4/getrandom.m4 and m4/sys_random_h.m4 also have
> "#include <stddef.h>" lines inserted after the newly-modified C comments?
> That
> way, these .m4 files would match the change to lib/sys_random.in.h.
>From the error message, we can see that uClibc's <sys/random.h> merely needs
'size_t' to be defined. Whether it is through <stddef.h> or <stdlib.h>, does
not matter.
In lib/sys_random.in.h I used <stddef.h>, because
- it's more "minimal" than <stdlib.h>: it defines fewer unrelated symbols,
- it is less likely to cause problems with mutual inclusion of gnulib
overridden header files.
I don't object to adding '#include <stddef.h>' in the two *.m4 files. It's
redundant, but it won't hurt either.
Bruno