--- a/crypto/random/seed/GetEntropyRandomSeed.c 2017-03-18 16:58:52.044846562 +0100 +++ b/crypto/random/seed/GetEntropyRandomSeed.c 2017-03-18 16:13:30.859893443 +0100 @@ -21,10 +21,10 @@ #include #include -#define GetEntropyRandomSeed_GLIBC_HAS_IT \ - (defined(__GNU_LIBRARY__) && defined(__GLIBC_PREREQ) && __GLIBC_PREREQ(2, 25)) - -#if !defined(__OPENBSD__) && !GetEntropyRandomSeed_GLIBC_HAS_IT +#if !defined(__OPENBSD__) && \ + (!defined(__GNU_LIBRARY__) || !defined(__GLIBC__) || \ + !defined(__GLIBC_MINOR__) || __GLIBC__ < 2 || \ + (__GLIBC__ == 2 && __GLIBC_MINOR__ < 25)) static int getentropy(void *buf, size_t buflen) { int ret;