summaryrefslogtreecommitdiff
path: root/test/testlockperf.c
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2001-09-15 05:23:55 +0000
committerRyan Bloom <rbb@apache.org>2001-09-15 05:23:55 +0000
commitceb23b690c9df3cb81ddabae37551027de881e03 (patch)
tree2286192ff87c8a3fd31490c73475ae1b354d4634 /test/testlockperf.c
parentfd7989efc7fc59e0f80d6a6a36001ff134e2b8d9 (diff)
downloadapr-ceb23b690c9df3cb81ddabae37551027de881e03.tar.gz
Protect including a header file that doesn't exist on Windows
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62330 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testlockperf.c')
-rw-r--r--test/testlockperf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/testlockperf.c b/test/testlockperf.c
index a008fd0d4..488706eef 100644
--- a/test/testlockperf.c
+++ b/test/testlockperf.c
@@ -64,7 +64,9 @@
#include <stdio.h>
#include <stdlib.h>
#include "test_apr.h"
+#ifdef HAVE_SYS_TIME_h
#include <sys/time.h> /* replace me with apr_time.h */
+#endif
#if !APR_HAS_THREADS
int main(void)