From: Guenter Knauf Date: Sat, 2 Mar 2013 19:17:14 +0000 (+0000) Subject: Follow-up to r1451905 to fix NetWare/Windows compilation. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0983a1fd1465fac11cba0ec3c3d394325fe8242;p=thirdparty%2Fapache%2Fhttpd.git Follow-up to r1451905 to fix NetWare/Windows compilation. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1451921 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c index 98b0a26d643..f4f6a4e54d6 100644 --- a/modules/proxy/proxy_util.c +++ b/modules/proxy/proxy_util.c @@ -2383,6 +2383,7 @@ static apr_status_t send_http_connect(proxy_conn_rec *backend, } +#if APR_HAVE_SYS_UN_H /* lifted from mod_proxy_fdpass.c; tweaked addrlen in connect() call */ static apr_status_t socket_connect_un(apr_socket_t *sock, struct sockaddr_un *sa) @@ -2426,6 +2427,7 @@ static apr_status_t socket_connect_un(apr_socket_t *sock, return APR_SUCCESS; } +#endif PROXY_DECLARE(int) ap_proxy_connect_backend(const char *proxy_function, proxy_conn_rec *conn,