summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/core.c10
-rw-r--r--server/protocol.c1
2 files changed, 6 insertions, 5 deletions
diff --git a/server/core.c b/server/core.c
index dca2ffd57a..c5685b9de3 100644
--- a/server/core.c
+++ b/server/core.c
@@ -120,11 +120,11 @@ AP_IMPLEMENT_HOOK_RUN_ALL(int, get_mgmt_items,
*/
/* Handles for core filters */
-ap_filter_rec_t *ap_subreq_core_filter_handle;
-ap_filter_rec_t *ap_core_output_filter_handle;
-ap_filter_rec_t *ap_content_length_filter_handle;
-ap_filter_rec_t *ap_net_time_filter_handle;
-ap_filter_rec_t *ap_core_input_filter_handle;
+AP_DECLARE_DATA ap_filter_rec_t *ap_subreq_core_filter_handle;
+AP_DECLARE_DATA ap_filter_rec_t *ap_core_output_filter_handle;
+AP_DECLARE_DATA ap_filter_rec_t *ap_content_length_filter_handle;
+AP_DECLARE_DATA ap_filter_rec_t *ap_net_time_filter_handle;
+AP_DECLARE_DATA ap_filter_rec_t *ap_core_input_filter_handle;
static void *create_core_dir_config(apr_pool_t *a, char *dir)
{
diff --git a/server/protocol.c b/server/protocol.c
index 1304a230c0..5ec855ec07 100644
--- a/server/protocol.c
+++ b/server/protocol.c
@@ -86,6 +86,7 @@
#include "http_vhost.h"
#include "http_log.h" /* For errors detected in basic auth common
* support code... */
+#include "mod_core.h"
#include "util_charset.h"
#include "util_ebcdic.h"