Index: src/Makefile.am
===================================================================
--- src/Makefile.am	(revision 570350)
+++ src/Makefile.am	(working copy)
@@ -21,7 +21,7 @@
 ##apxs_libexecdir = @APXS_LIBEXECDIR@
 ##apxs_libexec_LTLIBRARIES = mod_rivet.la
 
-INCLUDES = -I@apache_include@ -I@apr_include@
+INCLUDES = -I@apache_include@ 
 
 # ... and these two.  We want to put the libs in the package path,
 # rather than the standard library location for the system.
@@ -53,7 +53,7 @@
 librivet_la_SOURCES = rivetList.c rivetCrypt.c rivetWWW.c rivetPkgInit.c
 librivet_la_LDFLAGS = @TCL_LIB_SPEC@ @APXS_LDFLAGS@ -module -avoid-version
 librivet_la_LIBADD = @TCL_LIBS@ @APXS_LIBS@
-librivet_la_CPPFLAGS = @TCL_INCLUDES@ @APXS_CPPFLAGS@ @APXS_INCLUDES@ -DSTART_TAG='"<?"' -DEND_TAG='"?>"'
+librivet_la_CPPFLAGS = @TCL_INCLUDES@ @APXS_CPPFLAGS@ @APXS_INCLUDES@ @APR_INCLUDES@ @APR_CPPFLAGS@ -DSTART_TAG='"<?"' -DEND_TAG='"?>"'
 
 #
 # Rivet Parser Library
