lib/randutils: glibc 2.25 has getrandom(2) declaration
Subsystems (2)
PATCH 1/1 lib/randutils: glibc 2.25 has getrandom(2) declaration
Use correct header file to include the function.
Signed-off-by Sami Kerola <[email protected]>
--- lib/randutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/randutils.c +1 -1
@@ -26,7 +26,7 @@#endif #ifdef HAVE_GETRANDOM -# include <linux/random.h> +# include <sys/random.h> #elif defined (__linux__)# include <sys/syscall.h> # if !defined(SYS_getrandom) && defined(__NR_getrandom)
Signature · 1 line
2.11.1
Quoted 2 lines · Sami Kerola
lib/randutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com