summaryrefslogtreecommitdiff
path: root/src/sysdeps/trygetrandom.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysdeps/trygetrandom.c')
-rw-r--r--src/sysdeps/trygetrandom.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sysdeps/trygetrandom.c b/src/sysdeps/trygetrandom.c
index 67a623d..b6cda18 100644
--- 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)