diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c index f4f6a4e54d..f342a74834 100644 --- a/modules/proxy/proxy_util.c +++ b/modules/proxy/proxy_util.c @@ -34,7 +34,9 @@ #if APR_HAVE_SYS_UN_H #include #endif +#if (APR_MAJOR_VERSION < 2) #include "apr_support.h" /* for apr_wait_for_io_or_timeout() */ +#endif APLOG_USE_MODULE(proxy);