aboutsummaryrefslogtreecommitdiffstats
path: root/libtest/common.h
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-05-11 23:15:33 +0200
committerMattias Andrée <m@maandree.se>2026-05-11 23:15:33 +0200
commit86087e5f9cf4a0512ba36b4d01086b905574a47d (patch)
tree03ce90743ef4d9e3da6ba45b70f11494e12b667c /libtest/common.h
parentMisc (diff)
downloadlibrecrypt-86087e5f9cf4a0512ba36b4d01086b905574a47d.tar.gz
librecrypt-86087e5f9cf4a0512ba36b4d01086b905574a47d.tar.bz2
librecrypt-86087e5f9cf4a0512ba36b4d01086b905574a47d.tar.xz
Misc
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'libtest/common.h')
-rw-r--r--libtest/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libtest/common.h b/libtest/common.h
index 667743a..b78b69d 100644
--- a/libtest/common.h
+++ b/libtest/common.h
@@ -4,6 +4,10 @@
# include <libunwind.h>
# include <elfutils/libdwfl.h>
#endif
+#if defined(__linux__)
+# include <sys/random.h>
+# include <sys/syscall.h>
+#endif
#include <sys/mman.h>
#include <errno.h>
#include <inttypes.h>