summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/arch/unix/mmap.c2
-rw-r--r--mmap/unix/mmap.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/arch/unix/mmap.c b/include/arch/unix/mmap.c
index cd6075017..504970a7e 100644
--- a/include/arch/unix/mmap.c
+++ b/include/arch/unix/mmap.c
@@ -55,7 +55,7 @@
#include "mmap_h.h"
#include "apr_portable.h"
-#if HAVE_MMAP
+#if HAVE_MMAP || defined(BEOS)
static ap_status_t mmap_cleanup(void *themmap)
{
diff --git a/mmap/unix/mmap.c b/mmap/unix/mmap.c
index cd6075017..504970a7e 100644
--- a/mmap/unix/mmap.c
+++ b/mmap/unix/mmap.c
@@ -55,7 +55,7 @@
#include "mmap_h.h"
#include "apr_portable.h"
-#if HAVE_MMAP
+#if HAVE_MMAP || defined(BEOS)
static ap_status_t mmap_cleanup(void *themmap)
{