diff options
author | Roland McGrath <roland@gnu.org> | 2005-03-01 20:30:29 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2005-03-01 20:30:29 +0000 |
commit | a28b6b0a55c325ec7a990dc41ed5d8ec7f9af07c (patch) | |
tree | 1b6702e1a4cb0d2742b4e04a92234e7c72684acc /malloc | |
parent | 9db670f07a8fc5db98c7faa2bbe56d5040058234 (diff) | |
download | glibc-a28b6b0a55c325ec7a990dc41ed5d8ec7f9af07c.tar.gz glibc-a28b6b0a55c325ec7a990dc41ed5d8ec7f9af07c.tar.xz glibc-a28b6b0a55c325ec7a990dc41ed5d8ec7f9af07c.zip |
2005-03-01 Alfred M. Szmidt <ams@gnu.org>
* malloc/arena.c: #include <stdbool.h> outside of [SHARED && USE_TLS && !USE___THREAD].
Diffstat (limited to 'malloc')
-rw-r--r-- | malloc/arena.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/malloc/arena.c b/malloc/arena.c index 026f2c7822..8202aaf01b 100644 --- a/malloc/arena.c +++ b/malloc/arena.c @@ -1,5 +1,5 @@ /* Malloc implementation for multiple threads without lock contention. - Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc. + Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Wolfram Gloger <wg@malloc.de>, 2001. @@ -20,6 +20,8 @@ /* $Id$ */ +#include <stdbool.h> + /* Compile-time constants. */ #define HEAP_MIN_SIZE (32*1024) @@ -353,8 +355,6 @@ libc_hidden_proto (_dl_open_hook); # endif # if defined SHARED && defined USE_TLS && !USE___THREAD -# include <stdbool.h> - /* This is called by __pthread_initialize_minimal when it needs to use malloc to set up the TLS state. We cannot do the full work of ptmalloc_init (below) until __pthread_initialize_minimal has finished, |