From 2abc3b2c555d3dd6f9707b4e866d7984ad9048d6 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 23 Jul 2022 20:21:38 +0000 Subject: Don't use arc4random() for early random on Linux Signed-off-by: Laurent Bercot --- src/librandom/random_buf_early.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librandom/random_buf_early.c b/src/librandom/random_buf_early.c index ce2733b..d14cd24 100644 --- a/src/librandom/random_buf_early.c +++ b/src/librandom/random_buf_early.c @@ -2,7 +2,7 @@ #include -#if defined(SKALIBS_HASARC4RANDOM) +#if defined(SKALIBS_HASARC4RANDOM) && !defined(__linux__) #include #include -- cgit v1.2.3