# tsan: fix cross build for FreeBSD by using direct syscalls instead of libsys · gitcafe/zig

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

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

Visibility: public

Requested revision: fe783d9ff39a31a3b39a7b7bb2c3ffed08b99bf4

Requested commit: fe783d9ff39a31a3b39a7b7bb2c3ffed08b99bf4

Commit: fe783d9ff39a31a3b39a7b7bb2c3ffed08b99bf4

Tree: 289e9108235defc4e80a1bd3675846e64982a149

Author: Rajiv Singh

Committer: Alex Rønne Petersen

## Message

```
tsan: fix cross build for FreeBSD by using direct syscalls instead of libsys

This patch can hopefully be dropped in the future; see #24989.

closes #24885
closes #24896

Co-authored-by: Alex Rønne Petersen <alex@alexrp.com>

```

## Parents

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

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