summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/librandom/random_string.c1
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>