Skip to content

Commit

Permalink
include sys/timerfd.h in libc-test for FreeBSD.
Browse files Browse the repository at this point in the history
  • Loading branch information
asomers committed Oct 20, 2023
1 parent 84b6565 commit 2c3bf6f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libc-test/build.rs
Expand Up @@ -1987,6 +1987,10 @@ fn test_freebsd(target: &str) {
Some(n) if n >= 13 => true,
_ => false,
};
let freebsd14 = match freebsd_ver {
Some(n) if n >= 14 => true,
_ => false,
};

headers! { cfg:
"aio.h",
Expand Down Expand Up @@ -2074,6 +2078,7 @@ fn test_freebsd(target: &str) {
"sys/sysctl.h",
"sys/thr.h",
"sys/time.h",
[freebsd14]:"sys/timerfd.h",
"sys/times.h",
"sys/timex.h",
"sys/types.h",
Expand Down

0 comments on commit 2c3bf6f

Please sign in to comment.