Diff

util-src/crand.c @ 8128:c14513401d65

Merge 0.10->trunk
author Kim Alvefur <zash@zash.se>
date Tue, 25 Apr 2017 01:42:59 +0200
parent 8127:3e443d6791e6
child 8422:6eecf82ccd8e
line wrap: on
line diff
--- a/util-src/crand.c	Mon Apr 24 14:19:49 2017 +0200
+++ b/util-src/crand.c	Tue Apr 25 01:42:59 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 <unistd.h>
 #include <sys/syscall.h>