From: Mladen Turk Date: Fri, 10 Sep 2004 14:49:38 +0000 (+0000) Subject: Include unistd.h for getpid. X-Git-Tag: 2.1.1~311 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e93d6400e33cf38269888dbd9b0ff1b6552455d1;p=thirdparty%2Fapache%2Fhttpd.git Include unistd.h for getpid. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105061 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/proxy_balancer.c b/modules/proxy/proxy_balancer.c index a1c6b7eb913..09a47d90b93 100644 --- a/modules/proxy/proxy_balancer.c +++ b/modules/proxy/proxy_balancer.c @@ -22,6 +22,10 @@ #include "scoreboard.h" #include "apr_version.h" +#if APR_HAVE_UNISTD_H +#include /* for getpid() */ +#endif + module AP_MODULE_DECLARE_DATA proxy_balancer_module; #if APR_HAS_THREADS