325b917
diff -up ./crypto/random/seed/GetEntropyRandomSeed.c.entropy ./crypto/random/seed/GetEntropyRandomSeed.c
4b7aed7
--- ./crypto/random/seed/GetEntropyRandomSeed.c.entropy	2017-02-24 00:23:48.994554470 -0500
4b7aed7
+++ ./crypto/random/seed/GetEntropyRandomSeed.c	2017-02-24 00:28:07.022641392 -0500
4b7aed7
@@ -23,8 +23,9 @@
325b917
 
4b7aed7
 #define GetEntropyRandomSeed_GLIBC_HAS_IT \
4b7aed7
     (defined(__GNU_LIBRARY__) && defined(__GLIBC_PREREQ) && __GLIBC_PREREQ(2, 25))
4b7aed7
-
4b7aed7
-#if !defined(__OPENBSD__) && !GetEntropyRandomSeed_GLIBC_HAS_IT
02039d0
+/* gcc warns against using defined() inside #define, so just copy definition */
02039d0
+#if !defined(__OPENBSD__) && \
02039d0
+!(defined(__GNU_LIBRARY__) && defined(__GLIBC_PREREQ) && __GLIBC_PREREQ(2, 25))
325b917
 static int getentropy(void *buf, size_t buflen)
325b917
 {
325b917
     int ret;