--- a/src/gallium/drivers/llvmpipe/lp_test_arit.c
+++ b/src/gallium/drivers/llvmpipe/lp_test_arit.c
@@ -200,4 +200,7 @@
+#if __GLIBC_USE (IEC_60559_FUNCS_EXT_C23)
+#else
 static float rsqrtf(float x)
 {
    return 1.0/(float)sqrt(x);
 }
+#endif
