OSX randseed.c compilation failing
Seen on CI, OSX build fails:
../../utility/randseed.c:60:7: error: implicit declaration of function 'getentropy' is invalid in C99 -Werror,-Wimplicit-function-declaration
Configure check for both sys/random.h header and getentropy() existence success. The likely cause of the failure is that AC_CHECK_HEADER() does not, unlike AC_CHECK_HEADERS(), define the HAVE_xxx macro by itself.
Check for bcrypt.h has been similarly changed from being part of AC_CHECK_HEADERS() to AC_CHECK_HEADER() and macro HAVE_BCRYPT_H is expected in randseed.c.
- Will push attached patch to master immediately. If CI then indicates that it fixes the OSX issue, will push also to other branches.
Now pushed to all branches.