]> git.proxmox.com Git - wasi-libc.git/blobdiff - libc-top-half/musl/src/internal/locale_impl.h
Update to musl 1.2.2.
[wasi-libc.git] / libc-top-half / musl / src / internal / locale_impl.h
index 228ca6445942a5970244830e367ad51417817c0e..7f79b7f5193781f1a13f7c9229baf2082302d3fe 100644 (file)
@@ -17,6 +17,10 @@ struct __locale_map {
        const struct __locale_map *next;
 };
 
+#if defined(__wasilibc_unmodified_upstream) || defined(_REENTRANT)
+extern hidden volatile int __locale_lock[1];
+#endif
+
 extern hidden const struct __locale_map __c_dot_utf8;
 extern hidden const struct __locale_struct __c_locale;
 extern hidden const struct __locale_struct __c_dot_utf8_locale;