[libc-commits] [libc] [libc] Fix build failures in fuzzing tests (PR #185017)

Victor Campos via libc-commits libc-commits at lists.llvm.org
Mon Mar 9 03:50:07 PDT 2026


================
@@ -11,8 +11,8 @@
 //===----------------------------------------------------------------------===//
 
 #include "src/string/strlen.h"
-#include <cstdint>
-#include <cstring>
+#include <stdint.h>
----------------
vhscampos wrote:

The `__GLIBC_PREREQ` macro is defined in glibc's `features.h`. The LLVM libc's version of `features.h`, which is picked up in place of the system one, is essentially empty, hence the error.

It looks like an error that would show up somewhere else when the LLVM libc is used beneath libstdc++. But in any case this is out of the scope of the PR.

https://github.com/llvm/llvm-project/pull/185017


More information about the libc-commits mailing list