From 362b8b813352203c612375a03aee52856f01199d Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 1 May 2025 15:34:21 -0400 Subject: Include stdlib --- src/stdlib/lists.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/stdlib') 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 static ssize_t getrandom(void *buf, size_t buflen, unsigned int flags) { (void)flags; arc4random_buf(buf, buflen); -- cgit v1.2.3