summaryrefslogtreecommitdiff
path: root/buckets/apr_buckets_mmap.c
diff options
context:
space:
mode:
authorjwoolley <jwoolley@13f79535-47bb-0310-9956-ffa450edef68>2001-06-26 03:20:31 +0000
committerjwoolley <jwoolley@13f79535-47bb-0310-9956-ffa450edef68>2001-06-26 03:20:31 +0000
commitb04e9adb3bad0dd12071095007dacdb4e556182d (patch)
treebd457abd420a93c362018e52f378c02910c45b45 /buckets/apr_buckets_mmap.c
parentb94c0b73ef2fe31270fc98b0190b784cbc50f439 (diff)
downloadlibapr-util-b04e9adb3bad0dd12071095007dacdb4e556182d.tar.gz
Get the prototype for memcpy().
PS: I still question the copying of the mmap data into the pool in pool_setaside()... it seems to me that it's easy for that to accidentally copy a very large file in its entirety into memory. What am I missing? git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58309 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'buckets/apr_buckets_mmap.c')
-rw-r--r--buckets/apr_buckets_mmap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/buckets/apr_buckets_mmap.c b/buckets/apr_buckets_mmap.c
index 2cb7bd01..f0f6ca47 100644
--- a/buckets/apr_buckets_mmap.c
+++ b/buckets/apr_buckets_mmap.c
@@ -53,7 +53,8 @@
*/
#include "apr_buckets.h"
-#include "apr.h"
+#define APR_WANT_MEMFUNC
+#include "apr_want.h"
#include <stdlib.h>
#if APR_HAS_MMAP