diff --git a/libc-test/build.rs b/libc-test/build.rs index 3cc2c135f78ca..14745a72a5486 100644 --- a/libc-test/build.rs +++ b/libc-test/build.rs @@ -3187,6 +3187,9 @@ fn test_linux(target: &str) { // present in recent kernels only "PR_PAC_SET_ENABLED_KEYS" | "PR_PAC_GET_ENABLED_KEYS" => true, + // Added in Linux 5.14 + "FUTEX_LOCK_PI2" => true, + _ => false, } });