diff options
author | Guenter Knauf <fuankg@apache.org> | 2013-03-02 20:17:14 +0100 |
---|---|---|
committer | Guenter Knauf <fuankg@apache.org> | 2013-03-02 20:17:14 +0100 |
commit | f9b2fedce6f3e96b7f91ed58a05bb8e9ab1b57c6 (patch) | |
tree | e07faa4c7f42d55cf833ce52c7df03c7ca2f7362 | |
parent | Make AF_UNIX aware... fix Windows/Netware?? (diff) | |
download | apache2-f9b2fedce6f3e96b7f91ed58a05bb8e9ab1b57c6.tar.xz apache2-f9b2fedce6f3e96b7f91ed58a05bb8e9ab1b57c6.zip |
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
-rw-r--r-- | modules/proxy/proxy_util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c index 98b0a26d64..f4f6a4e54d 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, |