commit 9eb3a42e1a2f14b49ece03b661280db53f15a546
parent 23b5c25a01a6738ea11526cc68bd99ca3c961a2f
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date: Mon, 5 Dec 2016 10:13:52 +0000
Also fix actual random_string compilation with musl and getrandom()...
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/librandom/random_string.c b/src/librandom/random_string.c
@@ -18,6 +18,7 @@ void random_string (char *s, unsigned int n)
#include <skalibs/nonposix.h>
#include <sys/types.h>
+#include <unistd.h>
#include <sys/syscall.h>
#include <skalibs/random.h>