summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2012-12-06 20:05:05 +0100
committerBertrand Jacquin <beber@meleeweb.net>2012-12-06 20:05:05 +0100
commit62e9dfe5b4659da033957e510afe108d99555185 (patch)
tree2f0fdd530c044afa26f5360c75349c8af5d55e57
parent[CLEANUP] Request {httpd,http_request,http_log,apr_strings}.h from system (diff)
downloadmod_virtualvalue-62e9dfe5b4659da033957e510afe108d99555185.tar.gz
[BUG] Fix build on older apache release (2.2), newer release do thev0.4.1
correct inclusing and does not need CORE_PRIVATE to manipulate core_module
-rw-r--r--al_core.c3
-rw-r--r--mod_virtualvalue.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/al_core.c b/al_core.c
index ae35bb2..c50704e 100644
--- a/al_core.c
+++ b/al_core.c
@@ -1,4 +1,7 @@
+#define CORE_PRIVATE
+
#include <httpd.h>
+#include <http_config.h>
#include <http_core.h>
#include <apr_strings.h>
diff --git a/mod_virtualvalue.c b/mod_virtualvalue.c
index 5385907..0c4c893 100644
--- a/mod_virtualvalue.c
+++ b/mod_virtualvalue.c
@@ -6,6 +6,8 @@
*/
#include <httpd.h>
+#include <http_config.h>
+#include <http_core.h>
#include <http_request.h>
#include <http_log.h>