aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util-src/crand.c4
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>