diff options
Diffstat (limited to 'malloc')
-rw-r--r-- | malloc/malloc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c index 0181717057..c8a5374e65 100644 --- a/malloc/malloc.c +++ b/malloc/malloc.c @@ -238,6 +238,9 @@ /* For va_arg, va_start, va_end. */ #include <stdarg.h> +/* For MIN, MAX, powerof2. */ +#include <sys/param.h> + /* Debugging: @@ -4875,8 +4878,6 @@ malloc_printerr(int action, const char *str, void *ptr) abort (); } -#include <sys/param.h> - /* We need a wrapper function for one of the additions of POSIX. */ int __posix_memalign (void **memptr, size_t alignment, size_t size) |