Skip to content
Snippets Groups Projects
Commit f1dd2f9f authored by Val Packett's avatar Val Packett
Browse files

pw: fix build on FreeBSD by using local eventfd definition

The Rust libc crate currently targets FreeBSD 10 (and will soon be updated
to target 12), but eventfd has only been added to FreeBSD 13.

Unfortunately the Rust ecosystem still has no solution for targeting
particular OS versions, so even after eventfd gets added to the libc crate,
that definition won't be usable until the targeted version changes again.

We'll have to use a local 'extern' eventfd definition.
parent 89b368e7
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment