diff --git a/configure b/configure index b762e0d..45eddf1 100755 --- a/configure +++ b/configure @@ -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