summaryrefslogtreecommitdiff
path: root/test/testproc.c
diff options
context:
space:
mode:
authorMartin Kraemer <martin@apache.org>2001-08-22 15:40:29 +0000
committerMartin Kraemer <martin@apache.org>2001-08-22 15:40:29 +0000
commitdc8318fb39be0cb07bb2baad15e4e2c817193d11 (patch)
tree2ae7f45af18e2f71a54827137d801429bce35773 /test/testproc.c
parentc324ad68170bfa60d0e1cc9721c99d9196faaec4 (diff)
downloadapr-dc8318fb39be0cb07bb2baad15e4e2c817193d11.tar.gz
Use uniform wrapping for unistd.h, and don't include it if it's aready included via fileio.h
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62205 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testproc.c')
-rw-r--r--test/testproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testproc.c b/test/testproc.c
index 48aafcc21..67abe5009 100644
--- a/test/testproc.c
+++ b/test/testproc.c
@@ -58,7 +58,7 @@
#include "apr_lib.h"
#include "apr_strings.h"
#include <errno.h>
-#ifndef WIN32
+#if APR_HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <stdio.h>