configure: fix compiler warning in getrandom() test
This commit is contained in:
parent
1c277a8850
commit
043c7d7c9f
1 changed files with 1 additions and 1 deletions
2
configure
vendored
2
configure
vendored
|
@ -659,7 +659,7 @@ if test_code 'arc4random_buf()' 'stdlib.h' '' '' 'arc4random_buf(NULL, 0);'; the
|
|||
fi
|
||||
|
||||
if test_code 'getrandom()' 'stdlib.h sys/random.h' '' '' \
|
||||
'getrandom(NULL, 256, 0);'; then
|
||||
'return getrandom(NULL, 256, 0);'; then
|
||||
add_def HAVE_GETRANDOM
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue