summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuenter Knauf <fuankg@apache.org>2011-03-25 16:55:59 +0000
committerGuenter Knauf <fuankg@apache.org>2011-03-25 16:55:59 +0000
commitcb738f24882f5a042f6377a92ce8ff69d73a561c (patch)
tree4721e02605aa52c354ac62842a07101702592674
parent1916c8e6a2807fd326d5421cca1abc0fa8ec487e (diff)
downloadapr-cb738f24882f5a042f6377a92ce8ff69d73a561c.tar.gz
Added prototype for getpid.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.3.x@1085469 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--file_io/win32/pipe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/file_io/win32/pipe.c b/file_io/win32/pipe.c
index 0c12fdafa..9b566684d 100644
--- a/file_io/win32/pipe.c
+++ b/file_io/win32/pipe.c
@@ -29,6 +29,9 @@
#if APR_HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
+#if APR_HAVE_PROCESS_H
+#include <process.h> /* for getpid() on Win32 */
+#endif
#include "apr_arch_misc.h"
APR_DECLARE(apr_status_t) apr_file_pipe_timeout_set(apr_file_t *thepipe,