aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ell/musl-fixes-testsuite.patch
blob: 5b951f50a801349fa89ca4160dd12196f9ef7a57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
diff --git a/unit/test-dbus-message-fds.c b/unit/test-dbus-message-fds.c
index d6d0b38..217bc70 100644
--- a/unit/test-dbus-message-fds.c
+++ b/unit/test-dbus-message-fds.c
@@ -37,6 +37,10 @@
 #include <ell/ell.h>
 #include "ell/dbus-private.h"
 
+#ifndef WAIT_ANY
+#define WAIT_ANY (-1)
+#endif
+
 #define TEST_BUS_ADDRESS "unix:path=/tmp/ell-test-bus"
 
 static pid_t dbus_daemon_pid = -1;
diff --git a/unit/test-dbus-properties.c b/unit/test-dbus-properties.c
index f91ba73..b6fa776 100644
--- a/unit/test-dbus-properties.c
+++ b/unit/test-dbus-properties.c
@@ -34,6 +34,10 @@
 #include <ell/ell.h>
 #include "ell/dbus-private.h"
 
+#ifndef WAIT_ANY
+#define WAIT_ANY (-1)
+#endif
+
 #define TEST_BUS_ADDRESS "unix:path=/tmp/ell-test-bus"
 
 static pid_t dbus_daemon_pid = -1;
diff --git a/unit/test-dbus.c b/unit/test-dbus.c
index d5bd8c5..f63a281 100644
--- a/unit/test-dbus.c
+++ b/unit/test-dbus.c
@@ -31,6 +31,10 @@
 
 #include <ell/ell.h>
 
+#ifndef WAIT_ANY
+#define WAIT_ANY (-1)
+#endif
+
 #define TEST_BUS_ADDRESS "unix:path=/tmp/ell-test-bus"
 
 static pid_t dbus_daemon_pid = -1;