diff options
Diffstat (limited to 'nptl/pthread_attr_init.c')
-rw-r--r-- | nptl/pthread_attr_init.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/nptl/pthread_attr_init.c b/nptl/pthread_attr_init.c index a7add4b80d..589312f293 100644 --- a/nptl/pthread_attr_init.c +++ b/nptl/pthread_attr_init.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2002, 2003, 2004, 2007 Free Software Foundation, Inc. +/* Copyright (C) 2002, 2003, 2004, 2007, 2008 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@redhat.com>, 2002. @@ -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 |