summaryrefslogtreecommitdiff
path: root/test/proc_child.c
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2003-01-03 18:34:18 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2003-01-03 18:34:18 +0000
commit76a4b4366c39e2d47962172785d271dc64ffd9c0 (patch)
treea797de373d3038e10306bea8af0c33f56f561591 /test/proc_child.c
parent86b05d62b78c026d6fc0540c5053d05cbcc59073 (diff)
downloadapr-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.c5
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)