fix public clone function to be safe and usable by applications
[musl] / src / internal / libc.h
index d47f58e..619bba8 100644 (file)
@@ -21,6 +21,7 @@ struct __libc {
        char can_do_threads;
        char threaded;
        char secure;
+       volatile signed char need_locks;
        int threads_minus_1;
        size_t *auxv;
        struct tls_module *tls_head;