aboutsummaryrefslogtreecommitdiff
path: root/nptl/nptl-init.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2011-09-15 14:48:01 +0200
committerAndreas Schwab <schwab@redhat.com>2011-09-15 15:36:18 +0200
commit7a775e6b3d938586db5a66a76de9c14667151cf9 (patch)
tree522ee03efc1f9aa5006bc3a9fc92b3c6a16b8cc2 /nptl/nptl-init.c
parentedc121be8b53da57950daf6f42a619b5826f30b6 (diff)
downloadglibc-7a775e6b3d938586db5a66a76de9c14667151cf9.tar
glibc-7a775e6b3d938586db5a66a76de9c14667151cf9.tar.gz
glibc-7a775e6b3d938586db5a66a76de9c14667151cf9.tar.bz2
glibc-7a775e6b3d938586db5a66a76de9c14667151cf9.zip
Avoid race between {,__de}allocate_stack and __reclaim_stacks during fork
Diffstat (limited to 'nptl/nptl-init.c')
-rw-r--r--nptl/nptl-init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nptl/nptl-init.c b/nptl/nptl-init.c
index 33492c1602..db45cab230 100644
--- a/nptl/nptl-init.c
+++ b/nptl/nptl-init.c
@@ -29,6 +29,7 @@
#include <atomic.h>
#include <ldsodefs.h>
#include <tls.h>
+#include <list.h>
#include <fork.h>
#include <version.h>
#include <shlib-compat.h>