From: William A. Rowe Jr Date: Wed, 11 Aug 2004 21:45:53 +0000 (+0000) Subject: Missed a 2.0-HEAD proxy back-compat patch X-Git-Tag: post_ajp_proxy~57 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=df8b1de9b31ae96fa9d6e4d55104ffe4901ecf1b;p=apache Missed a 2.0-HEAD proxy back-compat patch git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104573 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c index 2925268806..270fa5a056 100644 --- a/modules/proxy/proxy_util.c +++ b/modules/proxy/proxy_util.c @@ -16,6 +16,10 @@ /* Utility routines for Apache proxy */ #include "mod_proxy.h" +#if (APR_MAJOR_VERSION < 1) +#undef apr_socket_create +#define apr_socket_create apr_socket_create_ex +#endif static int proxy_match_ipaddr(struct dirconn_entry *This, request_rec *r); static int proxy_match_domainname(struct dirconn_entry *This, request_rec *r);