aboutsummaryrefslogtreecommitdiff
path: root/mmalloc/mmap-sup.c
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>2000-02-19 00:44:46 +0000
committerFrank Ch. Eigler <fche@redhat.com>2000-02-19 00:44:46 +0000
commitff4e7bb239e88a67baed668fd48e25236fee6b93 (patch)
treee8d8a6d0ec44fd4401ca9c714ef870aeecc59e4e /mmalloc/mmap-sup.c
parent2dd67478f59b396f1179fd5a25b5256cd82757c5 (diff)
downloadgdb-ff4e7bb239e88a67baed668fd48e25236fee6b93.zip
gdb-ff4e7bb239e88a67baed668fd48e25236fee6b93.tar.gz
gdb-ff4e7bb239e88a67baed668fd48e25236fee6b93.tar.bz2
* build fix for cygwin
2000-02-18 Frank Ch. Eigler <fche@redhat.com> From Jason "crash" Molenda <jsm@cygnus.com>: * configure.in: Check for getpagesize declaration. * mvmalloc.c, mmap-sup.c: Conditionally declare getpagesize. * configure: Regenerated.
Diffstat (limited to 'mmalloc/mmap-sup.c')
-rw-r--r--mmalloc/mmap-sup.c2
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))