diff options
author | Guenter Knauf <fuankg@apache.org> | 2011-03-25 16:55:59 +0000 |
---|---|---|
committer | Guenter Knauf <fuankg@apache.org> | 2011-03-25 16:55:59 +0000 |
commit | cb738f24882f5a042f6377a92ce8ff69d73a561c (patch) | |
tree | 4721e02605aa52c354ac62842a07101702592674 | |
parent | 1916c8e6a2807fd326d5421cca1abc0fa8ec487e (diff) | |
download | apr-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.c | 3 |
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, |