summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/s6-linux-utils/rngseed.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/s6-linux-utils/rngseed.c b/src/s6-linux-utils/rngseed.c
index 2b1772c..223f50a 100644
--- a/src/s6-linux-utils/rngseed.c
+++ b/src/s6-linux-utils/rngseed.c
@@ -12,7 +12,9 @@
#include <unistd.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
+#ifdef SKALIBS_HASGETRANDOM
#include <sys/random.h>
+#endif
#include <linux/random.h>
#include <skalibs/types.h>