httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r1025496 - in /httpd/httpd/trunk: modules/core/mod_watchdog.h modules/http/byterange_filter.c modules/http/chunk_filter.c server/log.c server/util.c
Date Wed, 20 Oct 2010 11:03:01 GMT
Author: fuankg
Date: Wed Oct 20 11:03:01 2010
New Revision: 1025496

URL: http://svn.apache.org/viewvc?rev=1025496&view=rev
Log:
Added header include for getpid() prototype on Win32.

Modified:
    httpd/httpd/trunk/modules/core/mod_watchdog.h
    httpd/httpd/trunk/modules/http/byterange_filter.c
    httpd/httpd/trunk/modules/http/chunk_filter.c
    httpd/httpd/trunk/server/log.c
    httpd/httpd/trunk/server/util.c

Modified: httpd/httpd/trunk/modules/core/mod_watchdog.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/core/mod_watchdog.h?rev=1025496&r1=1025495&r2=1025496&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/core/mod_watchdog.h (original)
+++ httpd/httpd/trunk/modules/core/mod_watchdog.h Wed Oct 20 11:03:01 2010
@@ -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" {

Modified: httpd/httpd/trunk/modules/http/byterange_filter.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http/byterange_filter.c?rev=1025496&r1=1025495&r2=1025496&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http/byterange_filter.c (original)
+++ httpd/httpd/trunk/modules/http/byterange_filter.c Wed Oct 20 11:03:01 2010
@@ -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);
 

Modified: httpd/httpd/trunk/modules/http/chunk_filter.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http/chunk_filter.c?rev=1025496&r1=1025495&r2=1025496&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http/chunk_filter.c (original)
+++ httpd/httpd/trunk/modules/http/chunk_filter.c Wed Oct 20 11:03:01 2010
@@ -38,6 +38,10 @@
 
 #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.

Modified: httpd/httpd/trunk/server/log.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/log.c?rev=1025496&r1=1025495&r2=1025496&view=diff
==============================================================================
--- httpd/httpd/trunk/server/log.c (original)
+++ httpd/httpd/trunk/server/log.c Wed Oct 20 11:03:01 2010
@@ -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"

Modified: httpd/httpd/trunk/server/util.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/util.c?rev=1025496&r1=1025495&r2=1025496&view=diff
==============================================================================
--- httpd/httpd/trunk/server/util.c (original)
+++ httpd/httpd/trunk/server/util.c Wed Oct 20 11:03:01 2010
@@ -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



Mime
View raw message