mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-06 05:05:06 -05:00
configure: fix compiler warning in getrandom() test
This commit is contained in:
2
configure
vendored
2
configure
vendored
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user