Skip to content

Commit 7e0718a

Browse files
committed
Add missing include in <locale> to work around picolibc issue
1 parent 760f3da commit 7e0718a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libcxx/include/locale

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,10 @@ template <class charT> class messages_byname;
215215
# include <streambuf>
216216
# include <version>
217217

218+
// TODO: This is needed to properly get access to strtold_l on some platforms.
219+
// Remove once the locale base API is wrapped properly.
220+
# include <stdlib.h>
221+
218222
// TODO: Fix __bsd_locale_defaults.h
219223
// NOLINTBEGIN(libcpp-robust-against-adl)
220224

0 commit comments

Comments
 (0)