From 8858706cde77be9bd0aff0f241a3f03eb8056c95 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 23 Feb 2023 12:12:00 +0000 Subject: Fix build issue with old glibc Signed-off-by: Fabrice Fontaine --- AUTHORS | 1 + src/s6-linux-utils/rngseed.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/AUTHORS b/AUTHORS index 11f9c99..2441c9e 100644 --- a/AUTHORS +++ b/AUTHORS @@ -5,6 +5,7 @@ Contributors: Eric Le Bihan Mira Ressel John Regan + Fabrice Fontaine Thanks to: Dan J. Bernstein 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 #include #include +#ifdef SKALIBS_HASGETRANDOM #include +#endif #include #include -- cgit v1.2.3