diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2003-01-03 18:34:18 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2003-01-03 18:34:18 +0000 |
commit | 76a4b4366c39e2d47962172785d271dc64ffd9c0 (patch) | |
tree | a797de373d3038e10306bea8af0c33f56f561591 /test/proc_child.c | |
parent | 86b05d62b78c026d6fc0540c5053d05cbcc59073 (diff) | |
download | apr-76a4b4366c39e2d47962172785d271dc64ffd9c0.tar.gz |
We don't have no stinkin ssize_t here. We also needed io.h to compile clean
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64265 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/proc_child.c')
-rw-r--r-- | test/proc_child.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/proc_child.c b/test/proc_child.c index a4c16ebf3..405bb7f5b 100644 --- a/test/proc_child.c +++ b/test/proc_child.c @@ -3,12 +3,15 @@ #if APR_HAVE_UNISTD_H #include <unistd.h> #endif +#if APR_HAVE_IO_H +#include <io.h> +#endif #include <stdlib.h> int main(void) { char buf[256]; - ssize_t bytes; + apr_ssize_t bytes; bytes = read(STDIN_FILENO, buf, 256); if (bytes > 0) |