diff options
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | src/s6-linux-utils/rngseed.c | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -5,6 +5,7 @@ Contributors: Eric Le Bihan <eric.le.bihan.dev@free.fr> Mira Ressel <aranea@aixah.de> John Regan <john@jrjrtech.com> + Fabrice Fontaine <fontaine.fabrice@gmail.com> Thanks to: Dan J. Bernstein <djb@cr.yp.to> 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> |