--- utility/randseed.c.orig	2021-04-01 22:38:25.000000000 +1100
+++ utility/randseed.c	2021-05-31 07:12:31.000000000 +1000
@@ -23,7 +23,7 @@
 #include <fcntl.h>
 #include <stdint.h>
 #include <string.h>
-#ifdef HAVE_SYS_RANDOM_H
+#if HAVE_SYS_RANDOM_H && HAVE_GETENTROPY
 #include <sys/random.h>
 #endif
 #include <sys/stat.h>
