Blame SOURCES/httpd-2.4.6-http-protocol-options-define.patch
|
|
41a6c3 |
diff --git a/server/main.c b/server/main.c
|
|
|
41a6c3 |
index 28d1872..544882d 100644
|
|
|
41a6c3 |
--- a/server/main.c
|
|
|
41a6c3 |
+++ b/server/main.c
|
|
|
41a6c3 |
@@ -478,6 +478,12 @@ int main(int argc, const char * const argv[])
|
|
|
41a6c3 |
ap_server_post_read_config = apr_array_make(pcommands, 1, sizeof(char *));
|
|
|
41a6c3 |
ap_server_config_defines = apr_array_make(pcommands, 1, sizeof(char *));
|
|
|
41a6c3 |
|
|
|
41a6c3 |
+ {
|
|
|
41a6c3 |
+ char **new = (char **)apr_array_push(ap_server_config_defines);
|
|
|
41a6c3 |
+
|
|
|
41a6c3 |
+ *new = "_RH_HAS_HTTPPROTOCOLOPTIONS";
|
|
|
41a6c3 |
+ }
|
|
|
41a6c3 |
+
|
|
|
41a6c3 |
error = ap_setup_prelinked_modules(process);
|
|
|
41a6c3 |
if (error) {
|
|
|
41a6c3 |
ap_log_error(APLOG_MARK, APLOG_STARTUP|APLOG_EMERG, 0, NULL, APLOGNO(00012)
|