Skip to content

Commit d669ba4

Browse files
linux: IPPROTO_MPTCP requires kernel >= 5.6
1 parent 2c54fdf commit d669ba4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libc-test/build.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2643,7 +2643,8 @@ fn test_linux(target: &str) {
26432643
"VMADDR_CID_RESERVED" => true,
26442644

26452645
// Require Linux kernel 5.6:
2646-
"VMADDR_CID_LOCAL" => true,
2646+
| "IPPROTO_MPTCP"
2647+
| "VMADDR_CID_LOCAL" => true,
26472648

26482649
// Defined in kernel headers but musl removes it; need musl 1.2 for definition in musl
26492650
// headers.

0 commit comments

Comments
 (0)