[libcxx-commits] [libcxx] [libc++] Fix compilation for NetBSD. (PR #143055)

Alex Rønne Petersen via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jun 10 05:05:37 PDT 2025


================
@@ -24,8 +24,6 @@
 #  include <wctype.h>
 #endif
 
-#include <xlocale.h>
----------------
alexrp wrote:

> Where are functions like `strtof_l` defined on NetBSD?

`strtof_l` and friends are declared in `stdlib.h`. As far as I can tell, `bsd_like.h` includes all the headers it needs on NetBSD.

> Instead, we should probably do

Sure, fine by me.

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


More information about the libcxx-commits mailing list