# HG changeset patch # User Kim Alvefur # Date 1493076913 -7200 # Node ID 3e443d6791e677be1ac09d1e84418e49eed17a7d # Parent 60f6f7ddd2ce1ed85695958d54dc23d8f9eeb06a util.crand: Build with musl/non-glibc (can't have undefined argument-taking macros?) diff -r 60f6f7ddd2ce -r 3e443d6791e6 util-src/crand.c --- a/util-src/crand.c Tue Apr 25 00:14:19 2017 +0200 +++ b/util-src/crand.c Tue Apr 25 01:35:13 2017 +0200 @@ -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