diff options
Diffstat (limited to 'mmalloc/mmap-sup.c')
-rw-r--r-- | mmalloc/mmap-sup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mmalloc/mmap-sup.c b/mmalloc/mmap-sup.c index d9a61fb..56146e2 100644 --- a/mmalloc/mmap-sup.c +++ b/mmalloc/mmap-sup.c @@ -41,7 +41,9 @@ Boston, MA 02111-1307, USA. */ it out. */ static size_t pagesize; +#if NEED_DECLARATION_GETPAGESIZE extern int getpagesize PARAMS ((void)); +#endif #define PAGE_ALIGN(addr) (caddr_t) (((long)(addr) + pagesize - 1) & \ ~(pagesize - 1)) |