diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-05-01 15:34:21 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-05-01 15:34:21 -0400 |
| commit | 362b8b813352203c612375a03aee52856f01199d (patch) | |
| tree | d0d4598867d9e8effae0410c6ee8ee437801ce23 /src/stdlib | |
| parent | f05d1f90adb5aedcefb43c06311cce1395a01cdc (diff) | |
Include stdlib
Diffstat (limited to 'src/stdlib')
| -rw-r--r-- | src/stdlib/lists.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stdlib/lists.c b/src/stdlib/lists.c index f5be09e9..c73d20dd 100644 --- a/src/stdlib/lists.c +++ b/src/stdlib/lists.c @@ -275,6 +275,7 @@ public List_t List$sorted(List_t list, Closure_t comparison, int64_t padded_item } #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) +#include <stdlib.h> static ssize_t getrandom(void *buf, size_t buflen, unsigned int flags) { (void)flags; arc4random_buf(buf, buflen); |
