[libc-commits] [libc] [libc] Support ls in printf (PR #178841)

Alexey Samsonov via libc-commits libc-commits at lists.llvm.org
Sun Feb 1 19:30:19 PST 2026


================
@@ -28,6 +28,7 @@
 #include "src/__support/libc_errno.h"
 #endif // LIBC_COPT_PRINTF_DISABLE_STRERROR
 #ifndef LIBC_COPT_PRINTF_DISABLE_WIDE
+#include "hdr/types/wchar_t.h"
----------------
vonosmas wrote:

Why do you need this `#include` if you're casting to `void*` in the current version of the code?

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


More information about the libc-commits mailing list