aboutsummaryrefslogtreecommitdiffstats
path: root/librecrypt_rng_.c
diff options
context:
space:
mode:
Diffstat (limited to 'librecrypt_rng_.c')
-rw-r--r--librecrypt_rng_.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/librecrypt_rng_.c b/librecrypt_rng_.c
index 4c6d5dc..d645f82 100644
--- a/librecrypt_rng_.c
+++ b/librecrypt_rng_.c
@@ -1,5 +1,13 @@
/* See LICENSE file for copyright and license details. */
#include "common.h"
+#if defined(__linux__)
+# include <sys/auxv.h>
+# include <sys/random.h>
+#endif
+#include <sys/mman.h>
+#include <fcntl.h>
+#include <time.h>
+#include <unistd.h>
#ifndef TEST