diff options
Diffstat (limited to 'nptl/pthread_attr_init.c')
-rw-r--r-- | nptl/pthread_attr_init.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nptl/pthread_attr_init.c b/nptl/pthread_attr_init.c index 9030ea57d0..b37f04007e 100644 --- a/nptl/pthread_attr_init.c +++ b/nptl/pthread_attr_init.c @@ -20,13 +20,17 @@ #include <errno.h> #include <string.h> #include <unistd.h> -#include "pthreadP.h" +#include <pthreadP.h> #include <shlib-compat.h> struct pthread_attr *__attr_list; +#ifndef lll_define_initialized int __attr_list_lock = LLL_LOCK_INITIALIZER; +#else +lll_define_initialized (, __attr_list_lock); +#endif int |