diff options
author | Kim Alvefur <zash@zash.se> | 2017-04-25 01:42:59 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-04-25 01:42:59 +0200 |
commit | d10300eca4067bdc68a16675a4065f608c88381d (patch) | |
tree | 76b402f43306dd2f1a20dd5b16f9fe1bf9c15a42 /util-src/crand.c | |
parent | 706849aa1ef9f5f2f6494d14d7de0ac9e1647190 (diff) | |
parent | 237f991e4f843ea2448fac2563149b6671e5c885 (diff) | |
download | prosody-d10300eca4067bdc68a16675a4065f608c88381d.tar.gz prosody-d10300eca4067bdc68a16675a4065f608c88381d.zip |
Merge 0.10->trunk
Diffstat (limited to 'util-src/crand.c')
-rw-r--r-- | util-src/crand.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 <unistd.h> #include <sys/syscall.h> |