]> granicus.if.org Git - apache/commitdiff
* modules/proxy/mod_proxy_balancer.c: Include unistd.h to pick up
authorJoe Orton <jorton@apache.org>
Mon, 6 Feb 2006 16:35:20 +0000 (16:35 +0000)
committerJoe Orton <jorton@apache.org>
Mon, 6 Feb 2006 16:35:20 +0000 (16:35 +0000)
getpid() prototype.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@375310 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy_balancer.c

index c05635a2340ebe6f5ffd7a4be2693b9b45ac3951..639cfd18ebe5177243c2982de09355854b821414 100644 (file)
 #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)