summaryrefslogtreecommitdiff
path: root/modules/core
diff options
context:
space:
mode:
authorGuenter Knauf <fuankg@apache.org>2010-10-20 11:03:01 +0000
committerGuenter Knauf <fuankg@apache.org>2010-10-20 11:03:01 +0000
commit2768a20d295bbb9aafb7c1893c0883eb9e3a11f9 (patch)
treecbeeda1646ac18558b3ec99c6e077a9f8f93b7f7 /modules/core
parent0de2a457c06d0e7600a1e37446ac1e2664712b70 (diff)
downloadhttpd-2768a20d295bbb9aafb7c1893c0883eb9e3a11f9.tar.gz
Added header include for getpid() prototype on Win32.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1025496 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/core')
-rw-r--r--modules/core/mod_watchdog.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/core/mod_watchdog.h b/modules/core/mod_watchdog.h
index 8c4cece7f9..2ec5fdda91 100644
--- a/modules/core/mod_watchdog.h
+++ b/modules/core/mod_watchdog.h
@@ -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" {