# freebsd: remove getrandom dependency from libc · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/1811e7e6c96844a8381e6a69017948cae0b8b261)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 1811e7e6c96844a8381e6a69017948cae0b8b261

Requested commit: 1811e7e6c96844a8381e6a69017948cae0b8b261

Commit: 1811e7e6c96844a8381e6a69017948cae0b8b261

Tree: 4ba5e387f6cc16403a7848d73197c21463601877

Author: Marcio Giaxa

Committer: Marcio Giaxa

## Message

```
freebsd: remove getrandom dependency from libc

The system call getrandom(2) just landed on FreeBSD 12, so if we want to
support some earlier version or at least FreeBSD 11, we can't depend on
the system call.

```

## Parents

- [11ced4f99d95ec144d9dbb79ead335b571f714fe](https://git.cafe/gitcafe/zig/commit/11ced4f99d95ec144d9dbb79ead335b571f714fe?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/1811e7e6c96844a8381e6a69017948cae0b8b261?format=markdown)
