]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Added header include for getpid() prototype on Win32.
authorGuenter Knauf <fuankg@apache.org>
Wed, 20 Oct 2010 11:03:01 +0000 (11:03 +0000)
committerGuenter Knauf <fuankg@apache.org>
Wed, 20 Oct 2010 11:03:01 +0000 (11:03 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1025496 13f79535-47bb-0310-9956-ffa450edef68

modules/core/mod_watchdog.h
modules/http/byterange_filter.c
modules/http/chunk_filter.c
server/log.c
server/util.c

index 8c4cece7f909d5b793dab272853e38dadd2b5b3c..2ec5fdda91645590d2ad16993226d0963e76f304 100644 (file)
@@ -47,6 +47,9 @@
 #if APR_HAVE_UNISTD_H
 #include <unistd.h>         /* for getpid() */
 #endif
+#if APR_HAVE_PROCESS_H
+#include <process.h>        /* for getpid() on Win32 */
+#endif
 
 #ifdef __cplusplus
 extern "C" {
index 6442338eb46852e9e7df2ab06d6b693c67ff9b2a..69f372a94e54f5ea504883a5475db924431ba7ba 100644 (file)
@@ -53,6 +53,9 @@
 #if APR_HAVE_UNISTD_H
 #include <unistd.h>
 #endif
+#if APR_HAVE_PROCESS_H
+#include <process.h>            /* for getpid() on Win32 */
+#endif
 
 APLOG_USE_MODULE(http);
 
index 17fbabdb0a70b1e15c7d4c738b265f5008bb68f2..6d9e72f2153081d473fab596139484e469b2ee82 100644 (file)
 
 #include "mod_core.h"
 
+#if APR_HAVE_PROCESS_H
+#include <process.h>            /* for getpid() on Win32 */
+#endif
+
 /*
  * A pointer to this is used to memorize in the filter context that a bad
  * gateway error bucket had been seen. It is used as an invented unique pointer.
index 3fb928ae1d90db002092e132b5020fbf4eed498e..4b23d742bfaf97a6212371dc47d6d74a44f063cf 100644 (file)
@@ -41,6 +41,9 @@
 #if APR_HAVE_UNISTD_H
 #include <unistd.h>
 #endif
+#if APR_HAVE_PROCESS_H
+#include <process.h>            /* for getpid() on Win32 */
+#endif
 
 #include "ap_config.h"
 #include "httpd.h"
index fb0eff870717a9b011d390057008703d9e5fd510..faeda43c50b97b4b352a23b0a2dc2119a82357b2 100644 (file)
@@ -38,6 +38,9 @@
 #if APR_HAVE_UNISTD_H
 #include <unistd.h>
 #endif
+#if APR_HAVE_PROCESS_H
+#include <process.h>            /* for getpid() on Win32 */
+#endif
 #if APR_HAVE_NETDB_H
 #include <netdb.h>              /* for gethostbyname() */
 #endif