Skip to content

Commit 2c3bf6f

Browse files
committed
include sys/timerfd.h in libc-test for FreeBSD.
1 parent 84b6565 commit 2c3bf6f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

libc-test/build.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1987,6 +1987,10 @@ fn test_freebsd(target: &str) {
19871987
Some(n) if n >= 13 => true,
19881988
_ => false,
19891989
};
1990+
let freebsd14 = match freebsd_ver {
1991+
Some(n) if n >= 14 => true,
1992+
_ => false,
1993+
};
19901994

19911995
headers! { cfg:
19921996
"aio.h",
@@ -2074,6 +2078,7 @@ fn test_freebsd(target: &str) {
20742078
"sys/sysctl.h",
20752079
"sys/thr.h",
20762080
"sys/time.h",
2081+
[freebsd14]:"sys/timerfd.h",
20772082
"sys/times.h",
20782083
"sys/timex.h",
20792084
"sys/types.h",

0 commit comments

Comments
 (0)