aboutsummaryrefslogtreecommitdiffstats
path: root/librecrypt_rng_.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-09-23 20:00:30 +0200
committerMattias Andrée <m@maandree.se>2026-09-23 20:00:30 +0200
commit6fba90adab8777cefa7e84d34e3d77ba41657dc0 (patch)
treeaae1c9644b2a48c84246580a34706a6385cf3826 /librecrypt_rng_.c
parentFix compilation warning on 32-bit builds (diff)
downloadlibrecrypt-6fba90adab8777cefa7e84d34e3d77ba41657dc0.tar.gz
librecrypt-6fba90adab8777cefa7e84d34e3d77ba41657dc0.tar.bz2
librecrypt-6fba90adab8777cefa7e84d34e3d77ba41657dc0.tar.xz
m header file organisation improvement
Signed-off-by: Mattias Andrée <m@maandree.se>
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