summaryrefslogtreecommitdiff
path: root/mmap/unix
diff options
context:
space:
mode:
Diffstat (limited to 'mmap/unix')
-rw-r--r--mmap/unix/Makefile.in3
-rw-r--r--mmap/unix/mmap.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/mmap/unix/Makefile.in b/mmap/unix/Makefile.in
index 5ac7b6b27..9fc7221ba 100644
--- a/mmap/unix/Makefile.in
+++ b/mmap/unix/Makefile.in
@@ -4,8 +4,9 @@ RANLIB=@RANLIB@
CFLAGS=@CFLAGS@ @OPTIM@
LIBS=@LIBS@
LDFLAGS=@LDFLAGS@ $(LIBS)
+DEFOSDIR=$(INCDIR)/arch/@DEFAULT_OSDIR@
INCDIR=../../include
-INCLUDES=-I$(INCDIR) -I$(INCDIR)/arch
+INCLUDES=-I$(INCDIR) -I$(DEFOSDIR)
MKDEP=../../helpers/mkdep.sh
LIB=libmmap.a
diff --git a/mmap/unix/mmap.c b/mmap/unix/mmap.c
index 8b8b5440d..77c1d5ce8 100644
--- a/mmap/unix/mmap.c
+++ b/mmap/unix/mmap.c
@@ -57,7 +57,7 @@
#include "apr_general.h"
#include "apr_mmap.h"
#include "apr_errno.h"
-#include "unix/fileio.h"
+#include "fileio.h"
#include "apr_portable.h"
/* System headers required for the mmap library */