summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorGuenter Knauf <fuankg@apache.org>2010-10-20 13:03:01 +0200
committerGuenter Knauf <fuankg@apache.org>2010-10-20 13:03:01 +0200
commit2768a20d295bbb9aafb7c1893c0883eb9e3a11f9 (patch)
treecbeeda1646ac18558b3ec99c6e077a9f8f93b7f7 /server
parentSome minor fixes to provide protos and build with Watcom. (diff)
downloadapache2-2768a20d295bbb9aafb7c1893c0883eb9e3a11f9.tar.xz
apache2-2768a20d295bbb9aafb7c1893c0883eb9e3a11f9.zip
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 'server')
-rw-r--r--server/log.c3
-rw-r--r--server/util.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/server/log.c b/server/log.c
index 3fb928ae1d..4b23d742bf 100644
--- a/server/log.c
+++ b/server/log.c
@@ -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"
diff --git a/server/util.c b/server/util.c
index fb0eff8707..faeda43c50 100644
--- a/server/util.c
+++ b/server/util.c
@@ -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