diff options
author | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 2000-07-07 19:14:54 +0000 |
---|---|---|
committer | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 2000-07-07 19:14:54 +0000 |
commit | 676f55b18d7ade429d3a4413af0f4e57ee5544dd (patch) | |
tree | 41e237c79d87c6cc8c42660baf0d76f31a9f2722 /mmap/unix/common.c | |
parent | 3753ec977a49aff11ac19da996c99f90a2d76aae (diff) | |
download | libapr-676f55b18d7ade429d3a4413af0f4e57ee5544dd.tar.gz |
Stop using an incomplete type for MMAP files. The only sane way to really
store an MMAP file as far as I can see is as a void * and a length. BeOS
requires another variable, but it doesn't do any harm to expose that too.
This cleans up some code for Apache, and it makes sense IMHO.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60314 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'mmap/unix/common.c')
-rw-r--r-- | mmap/unix/common.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mmap/unix/common.c b/mmap/unix/common.c index 1d2db7a8c..25597c56a 100644 --- a/mmap/unix/common.c +++ b/mmap/unix/common.c @@ -61,7 +61,10 @@ * */ -#include "mmap_h.h" +#include "apr.h" +#include "apr_private.h" +#include "apr_mmap.h" +#include "apr_errno.h" #if APR_HAS_MMAP || defined(BEOS) |