Skip to content

Commit

Permalink
2005-03-01 Alfred M. Szmidt <ams@gnu.org>
Browse files Browse the repository at this point in the history
	* malloc/arena.c: #include <stdbool.h> outside of [SHARED &&
	USE_TLS && !USE___THREAD].
  • Loading branch information
Roland McGrath committed Mar 1, 2005
1 parent 9db670f commit a28b6b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions malloc/arena.c
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -20,6 +20,8 @@

/* $Id$ */

#include <stdbool.h>

/* Compile-time constants. */

#define HEAP_MIN_SIZE (32*1024)
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit a28b6b0

Please sign in to comment.