diff options
Diffstat (limited to 'libc/stdlib/malloc')
-rw-r--r-- | libc/stdlib/malloc/malloc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/stdlib/malloc/malloc.h b/libc/stdlib/malloc/malloc.h index ef95994a6..08ebfdf5b 100644 --- a/libc/stdlib/malloc/malloc.h +++ b/libc/stdlib/malloc/malloc.h @@ -15,7 +15,8 @@ #define MALLOC_ALIGNMENT (sizeof (double)) /* The system pagesize... */ -#define MALLOC_PAGE_SIZE _dl_pagesize +extern size_t __pagesize; +#define MALLOC_PAGE_SIZE __pagesize /* The minimum size of block we request from the the system to extend the heap for small allocations (we may request a bigger block if necessary to |