From 237f991e4f843ea2448fac2563149b6671e5c885 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 25 Apr 2017 01:35:13 +0200 Subject: util.crand: Build with musl/non-glibc (can't have undefined argument-taking macros?) --- util-src/crand.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/util-src/crand.c b/util-src/crand.c index d4b84327..7eea1f2b 100644 --- a/util-src/crand.c +++ b/util-src/crand.c @@ -29,6 +29,10 @@ #if defined(WITH_GETRANDOM) +#ifndef __GLIBC_PREREQ +#define __GLIBC_PREREQ(a,b) 0 +#endif + #if ! __GLIBC_PREREQ(2,25) #include #include -- cgit v1.2.3