From: Joe Orton Date: Mon, 6 Feb 2006 16:35:20 +0000 (+0000) Subject: * modules/proxy/mod_proxy_balancer.c: Include unistd.h to pick up X-Git-Tag: 2.3.0~2558 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b2e9ae5b1d77a780213c79eda7094212c8459f0b;p=apache * modules/proxy/mod_proxy_balancer.c: Include unistd.h to pick up getpid() prototype. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@375310 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_proxy_balancer.c b/modules/proxy/mod_proxy_balancer.c index c05635a234..639cfd18eb 100644 --- a/modules/proxy/mod_proxy_balancer.c +++ b/modules/proxy/mod_proxy_balancer.c @@ -23,6 +23,10 @@ #include "apr_version.h" #include "apr_hooks.h" +#if APR_HAVE_UNISTD_H +#include /* for getpid() */ +#endif + module AP_MODULE_DECLARE_DATA proxy_balancer_module; static int proxy_balancer_canon(request_rec *r, char *url)