mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Add missing #include for malloc/hooks.c code.
This commit is contained in:
@ -1,5 +1,8 @@
|
|||||||
2013-11-21 Roland McGrath <roland@hack.frob.com>
|
2013-11-21 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
|
* malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
|
||||||
|
it's there.
|
||||||
|
|
||||||
* sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
|
* sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
|
||||||
|
|
||||||
2013-11-21 Meador Inge <meadori@codesourcery.com>
|
2013-11-21 Meador Inge <meadori@codesourcery.com>
|
||||||
|
@ -238,6 +238,9 @@
|
|||||||
/* For va_arg, va_start, va_end. */
|
/* For va_arg, va_start, va_end. */
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
|
/* For MIN, MAX, powerof2. */
|
||||||
|
#include <sys/param.h>
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Debugging:
|
Debugging:
|
||||||
@ -4875,8 +4878,6 @@ malloc_printerr(int action, const char *str, void *ptr)
|
|||||||
abort ();
|
abort ();
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <sys/param.h>
|
|
||||||
|
|
||||||
/* We need a wrapper function for one of the additions of POSIX. */
|
/* We need a wrapper function for one of the additions of POSIX. */
|
||||||
int
|
int
|
||||||
__posix_memalign (void **memptr, size_t alignment, size_t size)
|
__posix_memalign (void **memptr, size_t alignment, size_t size)
|
||||||
|
Reference in New Issue
Block a user