skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

commit 23b5c25a01a6738ea11526cc68bd99ca3c961a2f
parent 77bfd9b4f9406f767178da98cf76ab98b2ffa5ea
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Mon,  5 Dec 2016 10:08:23 +0000

 Fix trygetrandom.c to correctly detect getrandom() on musl

Diffstat:
Msrc/sysdeps/trygetrandom.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/sysdeps/trygetrandom.c b/src/sysdeps/trygetrandom.c @@ -8,6 +8,7 @@ #endif #include <sys/types.h> +#include <unistd.h> #include <sys/syscall.h> static int getrandom (void *buf, size_t buflen, unsigned int flags)