Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src/s6-linux-utils/rngseed.c: fix build with glibc < #2

Closed
wants to merge 1 commit into from
Closed

src/s6-linux-utils/rngseed.c: fix build with glibc < #2

wants to merge 1 commit into from

Conversation

ffontaine
Copy link

getrandom and sys/random.h are only available since glibc 2.25 resulting in the following build failure since version 2.6.0.0 and ad59730:

src/minutils/rngseed.c:15:24: fatal error: sys/random.h: No such file or directory
 #include <sys/random.h>
                        ^

Fixes:

getrandom and sys/random.h are only available since glibc 2.25 resulting
in the following build failure since version 2.6.0.0 and
ad59730:

src/minutils/rngseed.c:15:24: fatal error: sys/random.h: No such file or directory
 #include <sys/random.h>
                        ^

Fixes:
 - http://autobuild.buildroot.org/results/214bcecfc389cb412b68627c831300478d614a3a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
@skarnet
Copy link
Owner

skarnet commented Feb 23, 2023

Thanks!
Not merging since the GitHub repo is not the main one (only a read-only copy), but I applied the patch and credited you in the AUTHORS file.

@skarnet skarnet closed this Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants