aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libell/fix-WAIT_ANY-test-dbus.patch
blob: 27c86eaa6665057852c05393b4e4985329a7d874 (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
--- a/unit/test-dbus.c
+++ b/unit/test-dbus.c
@@ -32,6 +32,10 @@
 
 #define TEST_BUS_ADDRESS "unix:path=/tmp/ell-test-bus"
 
+#ifndef WAIT_ANY
+#define WAIT_ANY (-1)
+#endif
+
 static pid_t dbus_daemon_pid = -1;
 
 static void start_dbus_daemon(void)


--- a/unit/test-dbus-message-fds.c
+++ b/unit/test-dbus-message-fds.c
@@ -37,6 +37,10 @@
 
 #define TEST_BUS_ADDRESS "unix:path=/tmp/ell-test-bus"
 
+#ifndef WAIT_ANY
+#define WAIT_ANY (-1)
+#endif
+
 static pid_t dbus_daemon_pid = -1;
 
 static bool start_dbus_daemon(void)


--- a/unit/test-dbus-properties.c
+++ b/unit/test-dbus-properties.c
@@ -34,6 +34,10 @@
 
 #define TEST_BUS_ADDRESS "unix:path=/tmp/ell-test-bus"
 
+#ifndef WAIT_ANY
+#define WAIT_ANY (-1)
+#endif
+
 static pid_t dbus_daemon_pid = -1;
 
 static bool start_dbus_daemon(void)