]> granicus.if.org Git - apache/commitdiff
Include unistd.h for getpid.
authorMladen Turk <mturk@apache.org>
Fri, 10 Sep 2004 14:49:38 +0000 (14:49 +0000)
committerMladen Turk <mturk@apache.org>
Fri, 10 Sep 2004 14:49:38 +0000 (14:49 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105061 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/proxy_balancer.c

index a1c6b7eb9137e4d2eb19b930548d09cb99796ce3..09a47d90b932fe91563bcbac42dbe70c4fea771d 100644 (file)
 #include "scoreboard.h"
 #include "apr_version.h"
 
+#if APR_HAVE_UNISTD_H
+#include <unistd.h>         /* for getpid() */
+#endif
+
 module AP_MODULE_DECLARE_DATA proxy_balancer_module;
 
 #if APR_HAS_THREADS