about summary refs log tree commit diff
path: root/nptl/descr.h
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/descr.h
parentedc121be8b53da57950daf6f42a619b5826f30b6 (diff)
downloadglibc-7a775e6b3d938586db5a66a76de9c14667151cf9.tar.gz
glibc-7a775e6b3d938586db5a66a76de9c14667151cf9.tar.xz
glibc-7a775e6b3d938586db5a66a76de9c14667151cf9.zip
Avoid race between {,__de}allocate_stack and __reclaim_stacks during fork
Diffstat (limited to 'nptl/descr.h')
-rw-r--r--nptl/descr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nptl/descr.h b/nptl/descr.h
index 9c366e7400..e57e29e311 100644
--- a/nptl/descr.h
+++ b/nptl/descr.h
@@ -26,6 +26,7 @@
 #include <stdbool.h>
 #include <sys/types.h>
 #include <hp-timing.h>
+#define __need_list_t
 #include <list.h>
 #include <lowlevellock.h>
 #include <pthreaddef.h>