aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/random.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-08-23 18:20:43 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-08-23 18:20:43 -0400
commita4b8ef38b1d7a26b4e6bfa966f021a237bf16ce1 (patch)
treea4137025b4096749341513f44c12d381ceb636bf /src/stdlib/random.h
parentecf08ab61fe49101b6c769badf362d21d8699df4 (diff)
Lots of cleanups
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) {