summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMartin Kraemer <martin@apache.org>2003-05-28 14:11:38 +0000
committerMartin Kraemer <martin@apache.org>2003-05-28 14:11:38 +0000
commit3858ce632096e51b8433a85d422f8913c893b32b (patch)
tree911f2fed253b011ffd0bbde4484438275d3969cb /test
parent032b7cbed9eb8ad70e1597b0801355961b78ca10 (diff)
downloadhttpd-3858ce632096e51b8433a85d422f8913c893b32b.tar.gz
[Porting] Include <sys/mutex.h> if available, to get lock_t typedef for using <sys/shm.h>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100070 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r--test/time-sem.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/time-sem.c b/test/time-sem.c
index f75217d282..89ca2b7e43 100644
--- a/test/time-sem.c
+++ b/test/time-sem.c
@@ -417,6 +417,9 @@ static void *get_shared_mem(apr_size_t size)
#else
#include <sys/types.h>
#include <sys/ipc.h>
+#ifdef HAVE_SYS_MUTEX_H
+#include <sys/mutex.h>
+#endif
#include <sys/shm.h>
static void *get_shared_mem(apr_size_t size)