Fix compilation of malloc/arena.c

Andreas Schwab schwab@suse.de
Sun Dec 12 16:47:00 GMT 2004


2004-12-12  Andreas Schwab  <schwab@suse.de>

	* malloc/arena.c [USE_ARENAS]: Include <stdbool.h>.

--- malloc/arena.c.~1.13.~	2004-12-12 17:39:32.000000000 +0100
+++ malloc/arena.c	2004-12-12 17:46:55.167066564 +0100
@@ -539,6 +539,8 @@ thread_atfork_static(ptmalloc_lock_all, 
 
 #if USE_ARENAS
 
+#include <stdbool.h>
+
 #if MALLOC_DEBUG > 1
 
 /* Print the complete contents of a single heap to stderr. */

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Libc-hacker mailing list