diff options
| -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); |
