From 28bfd386f2e8046c7b1cfb4b796ea1347e6a42b0 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 26 Oct 2019 06:08:45 +0000 Subject: Switch getrandom sysdep back to choose cl --- src/sysdeps/trygetrandom.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/sysdeps/trygetrandom.c') diff --git a/src/sysdeps/trygetrandom.c b/src/sysdeps/trygetrandom.c index cc2426b..a9f03d1 100644 --- a/src/sysdeps/trygetrandom.c +++ b/src/sysdeps/trygetrandom.c @@ -1,5 +1,11 @@ /* ISC license. */ +#include + +#ifdef __stub_getrandom +#error getrandom() appears to be a stub function, we won't use it. +#endif + #include int main (void) -- cgit v1.2.3