aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/random.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdlib/random.h')
-rw-r--r--src/stdlib/random.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stdlib/random.h b/src/stdlib/random.h
index 7311d695..8509dbd7 100644
--- a/src/stdlib/random.h
+++ b/src/stdlib/random.h
@@ -1,3 +1,6 @@
+#include <stdint.h>
+#include <assert.h>
+
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__)
#include <stdlib.h>
static ssize_t getrandom(void *buf, size_t buflen, unsigned int flags) {