diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2016-12-05 10:13:52 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2016-12-05 10:13:52 +0000 |
commit | 9eb3a42e1a2f14b49ece03b661280db53f15a546 (patch) | |
tree | 38cce2f1dcd2b74e26b41875f1cf00f7fe6f4657 /src/librandom | |
parent | 23b5c25a01a6738ea11526cc68bd99ca3c961a2f (diff) | |
download | skalibs-9eb3a42e1a2f14b49ece03b661280db53f15a546.tar.gz skalibs-9eb3a42e1a2f14b49ece03b661280db53f15a546.tar.xz skalibs-9eb3a42e1a2f14b49ece03b661280db53f15a546.zip |
Also fix actual random_string compilation with musl and getrandom()...
Diffstat (limited to 'src/librandom')
-rw-r--r-- | src/librandom/random_string.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librandom/random_string.c b/src/librandom/random_string.c index 83aca2c..6ccd865 100644 --- 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> |