diff --git a/libstdc++-v3/testsuite/18_support/96817.cc b/libstdc++-v3/testsuite/18_support/96817.cc index f03329678313..4591a7288a57 100644 --- a/libstdc++-v3/testsuite/18_support/96817.cc +++ b/libstdc++-v3/testsuite/18_support/96817.cc @@ -24,6 +24,10 @@ #include #include +#ifndef _GLIBCXX_HAVE_LINUX_FUTEX +# error "This test requries futex support in the library" +#endif + int init() { #if __has_include()