configure: fix compiler warning in getrandom() test

This commit is contained in:
Miroslav Lichvar 2017-07-14 10:21:31 +02:00
parent 1c277a8850
commit 043c7d7c9f

2
configure vendored
View file

@ -659,7 +659,7 @@ if test_code 'arc4random_buf()' 'stdlib.h' '' '' 'arc4random_buf(NULL, 0);'; the
fi fi
if test_code 'getrandom()' 'stdlib.h sys/random.h' '' '' \ if test_code 'getrandom()' 'stdlib.h sys/random.h' '' '' \
'getrandom(NULL, 256, 0);'; then 'return getrandom(NULL, 256, 0);'; then
add_def HAVE_GETRANDOM add_def HAVE_GETRANDOM
fi fi