From: Roland McGrath Date: Thu, 21 Nov 2013 23:49:50 +0000 (-0800) Subject: Add missing #include for malloc/hooks.c code. X-Git-Tag: upstream/2.30~8389 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=070906ffd305b9c439d6d04af26e1ecae2394fe8;p=external%2Fglibc.git Add missing #include for malloc/hooks.c code. --- diff --git a/ChangeLog b/ChangeLog index ee88097..b9201fc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2013-11-21 Roland McGrath + * malloc/malloc.c: Move #include to the top; comment why + it's there. + * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype. 2013-11-21 Meador Inge diff --git a/malloc/malloc.c b/malloc/malloc.c index 0181717..c8a5374 100644 --- a/malloc/malloc.c +++ b/malloc/malloc.c @@ -238,6 +238,9 @@ /* For va_arg, va_start, va_end. */ #include +/* For MIN, MAX, powerof2. */ +#include + /* Debugging: @@ -4875,8 +4878,6 @@ malloc_printerr(int action, const char *str, void *ptr) abort (); } -#include - /* We need a wrapper function for one of the additions of POSIX. */ int __posix_memalign (void **memptr, size_t alignment, size_t size)