httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r375310 - /httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c
Date Mon, 06 Feb 2006 16:35:22 GMT
Author: jorton
Date: Mon Feb  6 08:35:20 2006
New Revision: 375310

URL: http://svn.apache.org/viewcvs?rev=375310&view=rev
Log:
* modules/proxy/mod_proxy_balancer.c: Include unistd.h to pick up
getpid() prototype.

Modified:
    httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c?rev=375310&r1=375309&r2=375310&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c Mon Feb  6 08:35:20 2006
@@ -23,6 +23,10 @@
 #include "apr_version.h"
 #include "apr_hooks.h"
 
+#if APR_HAVE_UNISTD_H
+#include <unistd.h> /* for getpid() */
+#endif
+
 module AP_MODULE_DECLARE_DATA proxy_balancer_module;
 
 static int proxy_balancer_canon(request_rec *r, char *url)



Mime
View raw message